Documentation

Image extends Message
in package

Generated from protobuf message <code>website.web.realtime.Image</code>

Table of Contents

Properties

$name  : mixed
ID of the image.
$serving_url  : mixed
URL of the image.

Methods

__construct()  : mixed
Constructor.
getName()  : string
ID of the image.
getServingUrl()  : string
URL of the image.
setName()  : $this
ID of the image.
setServingUrl()  : $this
URL of the image.

Properties

$name

ID of the image.

protected mixed $name = ''

Generated from protobuf field string name = 1 [json_name = "name"];

$serving_url

URL of the image.

protected mixed $serving_url = ''

Generated from protobuf field string serving_url = 2 [json_name = "servingUrl"];

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
      ID of the image.
@type string $serving_url
      URL of the image.

}

getName()

ID of the image.

public getName() : string

Generated from protobuf field string name = 1 [json_name = "name"];

Return values
string

getServingUrl()

URL of the image.

public getServingUrl() : string

Generated from protobuf field string serving_url = 2 [json_name = "servingUrl"];

Return values
string

setName()

ID of the image.

public setName(string $var) : $this

Generated from protobuf field string name = 1 [json_name = "name"];

Parameters
$var : string
Return values
$this

setServingUrl()

URL of the image.

public setServingUrl(string $var) : $this

Generated from protobuf field string serving_url = 2 [json_name = "servingUrl"];

Parameters
$var : string
Return values
$this

        
On this page

Search results