ListRecipesRequest
extends Message
in package
Generated from protobuf message <code>php_bff.bff.ListRecipesRequest</code>
Table of Contents
Properties
- $category : mixed
- Generated from protobuf field <code>string category = 3;</code>
- $page_size : mixed
- Generated from protobuf field <code>int32 page_size = 2;</code>
- $page_token : mixed
- Generated from protobuf field <code>string page_token = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getCategory() : string
- Generated from protobuf field <code>string category = 3;</code>
- getPageSize() : int
- Generated from protobuf field <code>int32 page_size = 2;</code>
- getPageToken() : string
- Generated from protobuf field <code>string page_token = 1;</code>
- setCategory() : $this
- Generated from protobuf field <code>string category = 3;</code>
- setPageSize() : $this
- Generated from protobuf field <code>int32 page_size = 2;</code>
- setPageToken() : $this
- Generated from protobuf field <code>string page_token = 1;</code>
Properties
$category
Generated from protobuf field <code>string category = 3;</code>
protected
mixed
$category
= ''
$page_size
Generated from protobuf field <code>int32 page_size = 2;</code>
protected
mixed
$page_size
= 0
$page_token
Generated from protobuf field <code>string page_token = 1;</code>
protected
mixed
$page_token
= ''
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 $page_token @type int $page_size @type string $category}
getCategory()
Generated from protobuf field <code>string category = 3;</code>
public
getCategory() : string
Return values
stringgetPageSize()
Generated from protobuf field <code>int32 page_size = 2;</code>
public
getPageSize() : int
Return values
intgetPageToken()
Generated from protobuf field <code>string page_token = 1;</code>
public
getPageToken() : string
Return values
stringsetCategory()
Generated from protobuf field <code>string category = 3;</code>
public
setCategory(string $var) : $this
Parameters
- $var : string
Return values
$thissetPageSize()
Generated from protobuf field <code>int32 page_size = 2;</code>
public
setPageSize(int $var) : $this
Parameters
- $var : int
Return values
$thissetPageToken()
Generated from protobuf field <code>string page_token = 1;</code>
public
setPageToken(string $var) : $this
Parameters
- $var : string