CreateLetterRequest
extends Message
in package
Generated from protobuf message <code>php_bff.bff.CreateLetterRequest</code>
Table of Contents
Properties
- $auth_token : mixed
- Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
- $content : mixed
- Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
- $title : mixed
- Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
Methods
- __construct() : mixed
- Constructor.
- getAuthToken() : string
- Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
- getContent() : string
- Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
- getTitle() : string
- Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
- setAuthToken() : $this
- Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
- setContent() : $this
- Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
- setTitle() : $this
- Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
Properties
$auth_token
Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
protected
mixed
$auth_token
= ''
$content
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
protected
mixed
$content
= ''
$title
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
protected
mixed
$title
= ''
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 $auth_token @type string $title @type string $content}
getAuthToken()
Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
public
getAuthToken() : string
Return values
stringgetContent()
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
public
getContent() : string
Return values
stringgetTitle()
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
public
getTitle() : string
Return values
stringsetAuthToken()
Generated from protobuf field <code>string auth_token = 1 [json_name = "authToken"];</code>
public
setAuthToken(string $var) : $this
Parameters
- $var : string
Return values
$thissetContent()
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
public
setContent(string $var) : $this
Parameters
- $var : string
Return values
$thissetTitle()
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
public
setTitle(string $var) : $this
Parameters
- $var : string