Documentation

NewsType
in package

Protobuf type <code>website.web.realtime.GetNewsReply.NewsType</code>

Table of Contents

Constants

GENERAL  = 2
Generated from protobuf enum <code>GENERAL = 2;</code>
NEWS_TYPE_UNKNOWN  = 0
Generated from protobuf enum <code>NEWS_TYPE_UNKNOWN = 0;</code>
SPORTS  = 1
Generated from protobuf enum <code>SPORTS = 1;</code>

Properties

$valueToName  : mixed

Methods

name()  : mixed
value()  : mixed

Constants

GENERAL

Generated from protobuf enum <code>GENERAL = 2;</code>

public mixed GENERAL = 2

NEWS_TYPE_UNKNOWN

Generated from protobuf enum <code>NEWS_TYPE_UNKNOWN = 0;</code>

public mixed NEWS_TYPE_UNKNOWN = 0

SPORTS

Generated from protobuf enum <code>SPORTS = 1;</code>

public mixed SPORTS = 1

Properties

$valueToName

private static mixed $valueToName = [self::NEWS_TYPE_UNKNOWN => 'NEWS_TYPE_UNKNOWN', self::SPORTS => 'SPORTS', self::GENERAL => 'GENERAL']

Methods

name()

public static name(mixed $value) : mixed
Parameters
$value : mixed

value()

public static value(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results