GetReply
extends Message
in package
Generated from protobuf message <code>website.app.sections.GetReply</code>
Table of Contents
Properties
- $section : mixed
- Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
- $news : mixed
- Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
Methods
- __construct() : mixed
- Constructor.
- clearSection() : mixed
- getNews() : RepeatedField
- Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
- getSection() : Section|null
- Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
- hasSection() : mixed
- setNews() : $this
- Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
- setSection() : $this
- Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
Properties
$section
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
protected
mixed
$section
= null
$news
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
private
mixed
$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 \Website\App\Models\Section $section @type array<\Website\App\Models\News>|\Google\Protobuf\Internal\RepeatedField $news}
clearSection()
public
clearSection() : mixed
getNews()
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
public
getNews() : RepeatedField
Return values
RepeatedFieldgetSection()
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
public
getSection() : Section|null
Return values
Section|nullhasSection()
public
hasSection() : mixed
setNews()
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
public
setNews(array<string|int, News>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, News>|RepeatedField
Return values
$thissetSection()
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
public
setSection(Section $var) : $this
Parameters
- $var : Section