Documentation

StartUploadReply extends Message
in package

Generated from protobuf message <code>website.web.subuploads.StartUploadReply</code>

Table of Contents

Properties

$upload_name  : mixed
Opaque ID that should be passed to FinishUpload() after uploading the content.
$upload_url  : mixed
URL to send the POST request with the file data.

Methods

__construct()  : mixed
Constructor.
getUploadName()  : string
Opaque ID that should be passed to FinishUpload() after uploading the content.
getUploadUrl()  : string
URL to send the POST request with the file data.
setUploadName()  : $this
Opaque ID that should be passed to FinishUpload() after uploading the content.
setUploadUrl()  : $this
URL to send the POST request with the file data.

Properties

$upload_name

Opaque ID that should be passed to FinishUpload() after uploading the content.

protected mixed $upload_name = ''

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

$upload_url

URL to send the POST request with the file data.

protected mixed $upload_url = ''

Generated from protobuf field string upload_url = 2 [json_name = "uploadUrl"];

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 $upload_name
      Opaque ID that should be passed to FinishUpload() after uploading the content.
@type string $upload_url
      URL to send the POST request with the file data.

}

getUploadName()

Opaque ID that should be passed to FinishUpload() after uploading the content.

public getUploadName() : string

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

Return values
string

getUploadUrl()

URL to send the POST request with the file data.

public getUploadUrl() : string

Generated from protobuf field string upload_url = 2 [json_name = "uploadUrl"];

Return values
string

setUploadName()

Opaque ID that should be passed to FinishUpload() after uploading the content.

public setUploadName(string $var) : $this

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

Parameters
$var : string
Return values
$this

setUploadUrl()

URL to send the POST request with the file data.

public setUploadUrl(string $var) : $this

Generated from protobuf field string upload_url = 2 [json_name = "uploadUrl"];

Parameters
$var : string
Return values
$this

        
On this page

Search results