GetRecipeRequest
extends Message
in package
Generated from protobuf message <code>php_bff.bff.GetRecipeRequest</code>
Table of Contents
Properties
- $code : mixed
- Generated from protobuf field <code>string code = 1;</code>
- $previsualization : mixed
- Generated from protobuf field <code>bool previsualization = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getCode() : string
- Generated from protobuf field <code>string code = 1;</code>
- getPrevisualization() : bool
- Generated from protobuf field <code>bool previsualization = 2;</code>
- setCode() : $this
- Generated from protobuf field <code>string code = 1;</code>
- setPrevisualization() : $this
- Generated from protobuf field <code>bool previsualization = 2;</code>
Properties
$code
Generated from protobuf field <code>string code = 1;</code>
protected
mixed
$code
= ''
$previsualization
Generated from protobuf field <code>bool previsualization = 2;</code>
protected
mixed
$previsualization
= false
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 $code @type bool $previsualization}
getCode()
Generated from protobuf field <code>string code = 1;</code>
public
getCode() : string
Return values
stringgetPrevisualization()
Generated from protobuf field <code>bool previsualization = 2;</code>
public
getPrevisualization() : bool
Return values
boolsetCode()
Generated from protobuf field <code>string code = 1;</code>
public
setCode(string $var) : $this
Parameters
- $var : string
Return values
$thissetPrevisualization()
Generated from protobuf field <code>bool previsualization = 2;</code>
public
setPrevisualization(bool $var) : $this
Parameters
- $var : bool