Document
in package
implements
ModelInterface, ArrayAccess
Document Class Doc Comment
Tags
Interfaces, Classes, Traits and Enums
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
Table of Contents
- DISCRIMINATOR = null
- $attributeMap : array<string|int, string>
- Array of attributes where the key is the local name, and the value is the original name
- $container : array<string|int, mixed>
- Associative array for storing property values
- $getters : array<string|int, string>
- Array of attributes to getter functions (for serialization of requests)
- $setters : array<string|int, string>
- Array of attributes to setter functions (for deserialization of responses)
- $swaggerFormats : array<string|int, string>
- Array of property to format mappings. Used for (de)serialization
- $swaggerModelName : string
- The original name of the model.
- $swaggerTypes : array<string|int, string>
- Array of property to type mappings. Used for (de)serialization
- __construct() : mixed
- Constructor
- __toString() : string
- Gets the string presentation of the object
- attributeMap() : array<string|int, mixed>
- Array of attributes where the key is the local name, and the value is the original name
- getDocumentBase64() : string|null
- Gets document_base64
- getDocumentDisplay() : string|null
- Gets document_display
- getDocumentHtml() : string|null
- Gets document_html
- getDocumentName() : string|null
- Gets document_name
- getFileExtension() : string|null
- Gets file_extension
- getModelName() : string
- The original name of the model.
- getMustRead() : bool|null
- Gets must_read
- getMustView() : bool|null
- Gets must_view
- getOrder() : int|null
- Gets order
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- listInvalidProperties() : array<string|int, mixed>
- Show all the invalid properties with reasons.
- offsetExists() : bool
- Returns true if offset exists. False otherwise.
- offsetGet() : mixed
- Gets offset.
- offsetSet() : void
- Sets value based on offset.
- offsetUnset() : void
- Unsets offset.
- setDocumentBase64() : $this
- Sets document_base64
- setDocumentDisplay() : $this
- Sets document_display
- setDocumentHtml() : $this
- Sets document_html
- setDocumentName() : $this
- Sets document_name
- setFileExtension() : $this
- Sets file_extension
- setMustRead() : $this
- Sets must_read
- setMustView() : $this
- Sets must_view
- setOrder() : $this
- Sets order
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- swaggerFormats() : array<string|int, mixed>
- Array of property to format mappings. Used for (de)serialization
- swaggerTypes() : array<string|int, mixed>
- Array of property to type mappings. Used for (de)serialization
- valid() : bool
- Validate all the properties in the model return true if all passed
Constants
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
Properties
$attributeMap
Array of attributes where the key is the local name, and the value is the original name
protected
static array<string|int, string>
$attributeMap
= ['document_base64' => 'documentBase64', 'document_display' => 'documentDisplay', 'document_html' => 'documentHtml', 'document_name' => 'documentName', 'file_extension' => 'fileExtension', 'must_read' => 'mustRead', 'must_view' => 'mustView', 'order' => 'order']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string|int, string>
$getters
= ['document_base64' => 'getDocumentBase64', 'document_display' => 'getDocumentDisplay', 'document_html' => 'getDocumentHtml', 'document_name' => 'getDocumentName', 'file_extension' => 'getFileExtension', 'must_read' => 'getMustRead', 'must_view' => 'getMustView', 'order' => 'getOrder']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['document_base64' => 'setDocumentBase64', 'document_display' => 'setDocumentDisplay', 'document_html' => 'setDocumentHtml', 'document_name' => 'setDocumentName', 'file_extension' => 'setFileExtension', 'must_read' => 'setMustRead', 'must_view' => 'setMustView', 'order' => 'setOrder']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['document_base64' => null, 'document_display' => null, 'document_html' => null, 'document_name' => null, 'file_extension' => null, 'must_read' => null, 'must_view' => null, 'order' => 'int32']
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'document'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['document_base64' => '?string', 'document_display' => '?string', 'document_html' => '?string', 'document_name' => '?string', 'file_extension' => '?string', 'must_read' => '?bool', 'must_view' => '?bool', 'order' => '?int']
Methods
__construct()
Constructor
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
Associated array of property values initializing the model
Return values
mixed —__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
string —attributeMap()
Array of attributes where the key is the local name, and the value is the original name
public
static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDocumentBase64()
Gets document_base64
public
getDocumentBase64() : string|null
Return values
string|null —getDocumentDisplay()
Gets document_display
public
getDocumentDisplay() : string|null
Return values
string|null —getDocumentHtml()
Gets document_html
public
getDocumentHtml() : string|null
Return values
string|null —getDocumentName()
Gets document_name
public
getDocumentName() : string|null
Return values
string|null —getFileExtension()
Gets file_extension
public
getFileExtension() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getMustRead()
Gets must_read
public
getMustRead() : bool|null
Return values
bool|null —getMustView()
Gets must_view
public
getMustView() : bool|null
Return values
bool|null —getOrder()
Gets order
public
getOrder() : int|null
Return values
int|null —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —listInvalidProperties()
Show all the invalid properties with reasons.
public
listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —invalid properties with reasons
offsetExists()
Returns true if offset exists. False otherwise.
public
offsetExists(int $offset) : bool
Parameters
- $offset : int
-
Offset
Return values
bool —offsetGet()
Gets offset.
public
offsetGet(int $offset) : mixed
Parameters
- $offset : int
-
Offset
Return values
mixed —offsetSet()
Sets value based on offset.
public
offsetSet(int $offset, mixed $value) : void
Parameters
- $offset : int
-
Offset
- $value : mixed
-
Value to be set
Return values
void —offsetUnset()
Unsets offset.
public
offsetUnset(int $offset) : void
Parameters
- $offset : int
-
Offset
Return values
void —setDocumentBase64()
Sets document_base64
public
setDocumentBase64(string|null $document_base64) : $this
Parameters
- $document_base64 : string|null
-
The base64-encoded contents of the document.
Return values
$this —setDocumentDisplay()
Sets document_display
public
setDocumentDisplay(string|null $document_display) : $this
Parameters
- $document_display : string|null
-
Display type: link, document or pdf
Return values
$this —setDocumentHtml()
Sets document_html
public
setDocumentHtml(string|null $document_html) : $this
Parameters
- $document_html : string|null
-
The HTML representation of the document.
Return values
$this —setDocumentName()
Sets document_name
public
setDocumentName(string|null $document_name) : $this
Parameters
- $document_name : string|null
-
The name of the document.
Return values
$this —setFileExtension()
Sets file_extension
public
setFileExtension(string|null $file_extension) : $this
Parameters
- $file_extension : string|null
-
The file extension of the document.
Return values
$this —setMustRead()
Sets must_read
public
setMustRead(bool|null $must_read) : $this
Parameters
- $must_read : bool|null
-
True if the user needs to scroll to the end of the document.
Return values
$this —setMustView()
Sets must_view
public
setMustView(bool|null $must_view) : $this
Parameters
- $must_view : bool|null
-
True if the user must view the document.
Return values
$this —setOrder()
Sets order
public
setOrder(int|null $order) : $this
Parameters
- $order : int|null
-
The order of document layout.
Return values
$this —setters()
Array of attributes to setter functions (for deserialization of responses)
public
static setters() : array<string|int, mixed>
Return values
array<string|int, mixed> —swaggerFormats()
Array of property to format mappings. Used for (de)serialization
public
static swaggerFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —swaggerTypes()
Array of property to type mappings. Used for (de)serialization
public
static swaggerTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —valid()
Validate all the properties in the model return true if all passed
public
valid() : bool
Return values
bool —True if all properties are valid