SubUpload
extends Message
in package
Generated from protobuf message <code>website.admin.subuploads.SubUpload</code>
Table of Contents
Properties
- $content_type : mixed
- MIME type of the file.
- $create_time : mixed
- Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
- $name : mixed
- ID of the file.
- $serving_url : mixed
- URL privada para el panel administrativo que descargará el fichero.
- $size_bytes : mixed
- Size of the file in bytes.
- $user : mixed
- Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
Methods
- __construct() : mixed
- Constructor.
- clearCreateTime() : mixed
- clearUser() : mixed
- getContentType() : string
- MIME type of the file.
- getCreateTime() : Timestamp|null
- Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
- getName() : string
- ID of the file.
- getServingUrl() : string
- URL privada para el panel administrativo que descargará el fichero.
- getSizeBytes() : int
- Size of the file in bytes.
- getUser() : User|null
- Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
- hasCreateTime() : mixed
- hasUser() : mixed
- setContentType() : $this
- MIME type of the file.
- setCreateTime() : $this
- Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
- setName() : $this
- ID of the file.
- setServingUrl() : $this
- URL privada para el panel administrativo que descargará el fichero.
- setSizeBytes() : $this
- Size of the file in bytes.
- setUser() : $this
- Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
Properties
$content_type
MIME type of the file.
protected
mixed
$content_type
= ''
Generated from protobuf field string content_type = 3 [json_name = "contentType"];
$create_time
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
protected
mixed
$create_time
= null
$name
ID of the file.
protected
mixed
$name
= ''
Generated from protobuf field string name = 2 [json_name = "name"];
$serving_url
URL privada para el panel administrativo que descargará el fichero.
protected
mixed
$serving_url
= ''
Se necesitan permisos para acceder a esta URL.
Generated from protobuf field string serving_url = 1 [json_name = "servingUrl"];
$size_bytes
Size of the file in bytes.
protected
mixed
$size_bytes
= 0
Generated from protobuf field int32 size_bytes = 6 [json_name = "sizeBytes"];
$user
Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
protected
mixed
$user
= null
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 $serving_url URL privada para el panel administrativo que descargará el fichero. Se necesitan permisos para acceder a esta URL. @type string $name ID of the file. @type string $content_type MIME type of the file. @type \Google\Protobuf\Timestamp $create_time @type int $size_bytes Size of the file in bytes. @type \Website\Admin\Subuploads\User $user}
clearCreateTime()
public
clearCreateTime() : mixed
clearUser()
public
clearUser() : mixed
getContentType()
MIME type of the file.
public
getContentType() : string
Generated from protobuf field string content_type = 3 [json_name = "contentType"];
Return values
stringgetCreateTime()
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
public
getCreateTime() : Timestamp|null
Return values
Timestamp|nullgetName()
ID of the file.
public
getName() : string
Generated from protobuf field string name = 2 [json_name = "name"];
Return values
stringgetServingUrl()
URL privada para el panel administrativo que descargará el fichero.
public
getServingUrl() : string
Se necesitan permisos para acceder a esta URL.
Generated from protobuf field string serving_url = 1 [json_name = "servingUrl"];
Return values
stringgetSizeBytes()
Size of the file in bytes.
public
getSizeBytes() : int
Generated from protobuf field int32 size_bytes = 6 [json_name = "sizeBytes"];
Return values
intgetUser()
Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
public
getUser() : User|null
Return values
User|nullhasCreateTime()
public
hasCreateTime() : mixed
hasUser()
public
hasUser() : mixed
setContentType()
MIME type of the file.
public
setContentType(string $var) : $this
Generated from protobuf field string content_type = 3 [json_name = "contentType"];
Parameters
- $var : string
Return values
$thissetCreateTime()
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
public
setCreateTime(Timestamp $var) : $this
Parameters
- $var : Timestamp
Return values
$thissetName()
ID of the file.
public
setName(string $var) : $this
Generated from protobuf field string name = 2 [json_name = "name"];
Parameters
- $var : string
Return values
$thissetServingUrl()
URL privada para el panel administrativo que descargará el fichero.
public
setServingUrl(string $var) : $this
Se necesitan permisos para acceder a esta URL.
Generated from protobuf field string serving_url = 1 [json_name = "servingUrl"];
Parameters
- $var : string
Return values
$thissetSizeBytes()
Size of the file in bytes.
public
setSizeBytes(int $var) : $this
Generated from protobuf field int32 size_bytes = 6 [json_name = "sizeBytes"];
Parameters
- $var : int
Return values
$thissetUser()
Generated from protobuf field <code>.website.admin.subuploads.User user = 7 [json_name = "user"];</code>
public
setUser(User $var) : $this
Parameters
- $var : User