WebFormInstance
in package
implements
ModelInterface, ArrayAccess
WebFormInstance 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
- getAccountId() : string|null
- Gets account_id
- getBrandId() : string|null
- Gets brand_id
- getClientUserId() : string|null
- Gets client_user_id
- getEnvelopes() : array<string|int, WebFormInstanceEnvelopes>
- Gets envelopes
- getFormId() : string|null
- Gets form_id
- getFormUrl() : string|null
- Gets form_url
- getFormValues() : mixed
- Gets form_values
- getId() : string|null
- Gets id
- getInstanceMetadata() : WebFormInstanceMetadata
- Gets instance_metadata
- getInstanceToken() : string|null
- Gets instance_token
- getModelName() : string
- The original name of the model.
- getRecipients() : array<string|int, WebFormInstanceRecipients>
- Gets recipients
- getStatus() : InstanceStatus
- Gets status
- getTags() : array<string|int, ?string>
- Gets tags
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getTokenExpirationDateTime() : string|null
- Gets token_expiration_date_time
- 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.
- setAccountId() : $this
- Sets account_id
- setBrandId() : $this
- Sets brand_id
- setClientUserId() : $this
- Sets client_user_id
- setEnvelopes() : $this
- Sets envelopes
- setFormId() : $this
- Sets form_id
- setFormUrl() : $this
- Sets form_url
- setFormValues() : $this
- Sets form_values
- setId() : $this
- Sets id
- setInstanceMetadata() : $this
- Sets instance_metadata
- setInstanceToken() : $this
- Sets instance_token
- setRecipients() : $this
- Sets recipients
- setStatus() : $this
- Sets status
- setTags() : $this
- Sets tags
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setTokenExpirationDateTime() : $this
- Sets token_expiration_date_time
- 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
= ['form_url' => 'formUrl', 'instance_token' => 'instanceToken', 'token_expiration_date_time' => 'tokenExpirationDateTime', 'id' => 'id', 'form_id' => 'formId', 'account_id' => 'accountId', 'client_user_id' => 'clientUserId', 'tags' => 'tags', 'status' => 'status', 'envelopes' => 'envelopes', 'instance_metadata' => 'instanceMetadata', 'form_values' => 'formValues', 'brand_id' => 'brandId', 'recipients' => 'recipients']
$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
= ['form_url' => 'getFormUrl', 'instance_token' => 'getInstanceToken', 'token_expiration_date_time' => 'getTokenExpirationDateTime', 'id' => 'getId', 'form_id' => 'getFormId', 'account_id' => 'getAccountId', 'client_user_id' => 'getClientUserId', 'tags' => 'getTags', 'status' => 'getStatus', 'envelopes' => 'getEnvelopes', 'instance_metadata' => 'getInstanceMetadata', 'form_values' => 'getFormValues', 'brand_id' => 'getBrandId', 'recipients' => 'getRecipients']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['form_url' => 'setFormUrl', 'instance_token' => 'setInstanceToken', 'token_expiration_date_time' => 'setTokenExpirationDateTime', 'id' => 'setId', 'form_id' => 'setFormId', 'account_id' => 'setAccountId', 'client_user_id' => 'setClientUserId', 'tags' => 'setTags', 'status' => 'setStatus', 'envelopes' => 'setEnvelopes', 'instance_metadata' => 'setInstanceMetadata', 'form_values' => 'setFormValues', 'brand_id' => 'setBrandId', 'recipients' => 'setRecipients']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['form_url' => null, 'instance_token' => null, 'token_expiration_date_time' => null, 'id' => null, 'form_id' => null, 'account_id' => null, 'client_user_id' => null, 'tags' => null, 'status' => null, 'envelopes' => null, 'instance_metadata' => null, 'form_values' => null, 'brand_id' => null, 'recipients' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'WebFormInstance'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['form_url' => '?string', 'instance_token' => '?string', 'token_expiration_date_time' => '?string', 'id' => '?string', 'form_id' => '?string', 'account_id' => '?string', 'client_user_id' => '?string', 'tags' => '?string[]', 'status' => '\\DocuSign\\WebForms\\Model\\InstanceStatus', 'envelopes' => '\\DocuSign\\WebForms\\Model\\WebFormInstanceEnvelopes[]', 'instance_metadata' => '\\DocuSign\\WebForms\\Model\\WebFormInstanceMetadata', 'form_values' => 'map[string,object]', 'brand_id' => '?string', 'recipients' => '\\DocuSign\\WebForms\\Model\\WebFormInstanceRecipients[]']
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> —getAccountId()
Gets account_id
public
getAccountId() : string|null
Return values
string|null —getBrandId()
Gets brand_id
public
getBrandId() : string|null
Return values
string|null —getClientUserId()
Gets client_user_id
public
getClientUserId() : string|null
Return values
string|null —getEnvelopes()
Gets envelopes
public
getEnvelopes() : array<string|int, WebFormInstanceEnvelopes>
Return values
array<string|int, WebFormInstanceEnvelopes> —getFormId()
Gets form_id
public
getFormId() : string|null
Return values
string|null —getFormUrl()
Gets form_url
public
getFormUrl() : string|null
Return values
string|null —getFormValues()
Gets form_values
public
getFormValues() : mixed
Return values
mixed —getId()
Gets id
public
getId() : string|null
Return values
string|null —getInstanceMetadata()
Gets instance_metadata
public
getInstanceMetadata() : WebFormInstanceMetadata
Return values
WebFormInstanceMetadata —getInstanceToken()
Gets instance_token
public
getInstanceToken() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getRecipients()
Gets recipients
public
getRecipients() : array<string|int, WebFormInstanceRecipients>
Return values
array<string|int, WebFormInstanceRecipients> —getStatus()
Gets status
public
getStatus() : InstanceStatus
Return values
InstanceStatus —getTags()
Gets tags
public
getTags() : array<string|int, ?string>
Return values
array<string|int, ?string> —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTokenExpirationDateTime()
Gets token_expiration_date_time
public
getTokenExpirationDateTime() : string|null
Return values
string|null —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 —setAccountId()
Sets account_id
public
setAccountId(string|null $account_id) : $this
Parameters
- $account_id : string|null
-
account_id
Return values
$this —setBrandId()
Sets brand_id
public
setBrandId(string|null $brand_id) : $this
Parameters
- $brand_id : string|null
-
brand_id
Return values
$this —setClientUserId()
Sets client_user_id
public
setClientUserId(string|null $client_user_id) : $this
Parameters
- $client_user_id : string|null
-
client_user_id
Return values
$this —setEnvelopes()
Sets envelopes
public
setEnvelopes(array<string|int, WebFormInstanceEnvelopes> $envelopes) : $this
Parameters
- $envelopes : array<string|int, WebFormInstanceEnvelopes>
-
The associated envelope that is created when the instance is submitted
Return values
$this —setFormId()
Sets form_id
public
setFormId(string|null $form_id) : $this
Parameters
- $form_id : string|null
-
Web form from which the instance is created
Return values
$this —setFormUrl()
Sets form_url
public
setFormUrl(string|null $form_url) : $this
Parameters
- $form_url : string|null
-
form_url
Return values
$this —setFormValues()
Sets form_values
public
setFormValues(mixed $form_values) : $this
Parameters
- $form_values : mixed
Return values
$this —setId()
Sets id
public
setId(string|null $id) : $this
Parameters
- $id : string|null
-
id
Return values
$this —setInstanceMetadata()
Sets instance_metadata
public
setInstanceMetadata(WebFormInstanceMetadata $instance_metadata) : $this
Parameters
- $instance_metadata : WebFormInstanceMetadata
-
instance_metadata
Return values
$this —setInstanceToken()
Sets instance_token
public
setInstanceToken(string|null $instance_token) : $this
Parameters
- $instance_token : string|null
-
instance_token
Return values
$this —setRecipients()
Sets recipients
public
setRecipients(array<string|int, WebFormInstanceRecipients> $recipients) : $this
Parameters
- $recipients : array<string|int, WebFormInstanceRecipients>
-
The associated envelope that is created when the instance is submitted
Return values
$this —setStatus()
Sets status
public
setStatus(InstanceStatus $status) : $this
Parameters
- $status : InstanceStatus
-
status
Return values
$this —setTags()
Sets tags
public
setTags(array<string|int, ?string> $tags) : $this
Parameters
- $tags : array<string|int, ?string>
-
List of tags provided by the user with each request. This field is optional.
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> —setTokenExpirationDateTime()
Sets token_expiration_date_time
public
setTokenExpirationDateTime(string|null $token_expiration_date_time) : $this
Parameters
- $token_expiration_date_time : string|null
-
token_expiration_date_time
Return values
$this —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