CreateRecipeRequest
extends Message
in package
Generated from protobuf message <code>php_bff.bff.CreateRecipeRequest</code>
Table of Contents
Properties
- $auth_token : mixed
- Generated from protobuf field <code>string auth_token = 1;</code>
- $recipe : mixed
- Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- clearRecipe() : mixed
- getAuthToken() : string
- Generated from protobuf field <code>string auth_token = 1;</code>
- getRecipe() : Recipe|null
- Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
- hasRecipe() : mixed
- setAuthToken() : $this
- Generated from protobuf field <code>string auth_token = 1;</code>
- setRecipe() : $this
- Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
Properties
$auth_token
Generated from protobuf field <code>string auth_token = 1;</code>
protected
mixed
$auth_token
= ''
$recipe
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
protected
mixed
$recipe
= 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 $auth_token @type \Recipes\Recipes\Recipe $recipe}
clearRecipe()
public
clearRecipe() : mixed
getAuthToken()
Generated from protobuf field <code>string auth_token = 1;</code>
public
getAuthToken() : string
Return values
stringgetRecipe()
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
public
getRecipe() : Recipe|null
Return values
Recipe|nullhasRecipe()
public
hasRecipe() : mixed
setAuthToken()
Generated from protobuf field <code>string auth_token = 1;</code>
public
setAuthToken(string $var) : $this
Parameters
- $var : string
Return values
$thissetRecipe()
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
public
setRecipe(Recipe $var) : $this
Parameters
- $var : Recipe