RequestBody
Less than 1 minute
RequestBody
class RequestBodyProperties
model
private string $modelType: string
required
private bool $required = trueType: bool
contentType
private string $contentType = 'application/json'Type: string
Methods
__construct
public __construct(string $model, bool $required = true, string $contentType = 'application/json'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$model | string | |
$required | bool | |
$contentType | string |
getModel
public getModel(): stringReturns: string
isRequired
public isRequired(): boolReturns: bool
getContentType
public getContentType(): stringReturns: string
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000