News
extends Message
in package
Generated from protobuf message <code>website.builder.news.News</code>
Table of Contents
Properties
- $disable_link_protection : mixed
- Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
Methods
- __construct() : mixed
- Constructor.
- getDisableLinkProtection() : bool
- Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
- getName() : string
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
- setDisableLinkProtection() : $this
- Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
Properties
$disable_link_protection
Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
protected
mixed
$disable_link_protection
= false
$name
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
protected
mixed
$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 @type bool $disable_link_protection}
getDisableLinkProtection()
Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
public
getDisableLinkProtection() : bool
Return values
boolgetName()
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
public
getName() : string
Return values
stringsetDisableLinkProtection()
Generated from protobuf field <code>bool disable_link_protection = 2 [json_name = "disableLinkProtection"];</code>
public
setDisableLinkProtection(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetName()
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
public
setName(string $var) : $this
Parameters
- $var : string