WebFormMetadata
in package
implements
ModelInterface, ArrayAccess
WebFormMetadata 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
- getArchivedDateTime() : string|null
- Gets archived_date_time
- getCreatedDateTime() : string|null
- Gets created_date_time
- getFormContentModifiedBy() : WebFormUserInfo
- Gets form_content_modified_by
- getFormContentModifiedDateTime() : string|null
- Gets form_content_modified_date_time
- getFormPropertiesModifiedBy() : WebFormUserInfo
- Gets form_properties_modified_by
- getFormPropertiesModifiedDateTime() : string|null
- Gets form_properties_modified_date_time
- getLastDisabledBy() : WebFormUserInfo
- Gets last_disabled_by
- getLastDisabledDateTime() : string|null
- Gets last_disabled_date_time
- getLastEnabledBy() : WebFormUserInfo
- Gets last_enabled_by
- getLastEnabledDateTime() : string|null
- Gets last_enabled_date_time
- getLastModifiedBy() : WebFormUserInfo
- Gets last_modified_by
- getLastModifiedDateTime() : string|null
- Gets last_modified_date_time
- getLastPublishedBy() : WebFormUserInfo
- Gets last_published_by
- getLastPublishedDateTime() : string|null
- Gets last_published_date_time
- getLastSenderConsentDateTime() : string|null
- Gets last_sender_consent_date_time
- getModelName() : string
- The original name of the model.
- getOwner() : WebFormUserInfo
- Gets owner
- getPublishedComponentNames() : mixed
- Gets published_component_names
- getPublishedSlug() : string|null
- Gets published_slug
- getSender() : WebFormUserInfo
- Gets sender
- getSource() : WebFormSource
- Gets source
- getSourceFormId() : string|null
- Gets source_form_id
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getType() : WebFormType
- Gets type
- 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.
- setArchivedDateTime() : $this
- Sets archived_date_time
- setCreatedDateTime() : $this
- Sets created_date_time
- setFormContentModifiedBy() : $this
- Sets form_content_modified_by
- setFormContentModifiedDateTime() : $this
- Sets form_content_modified_date_time
- setFormPropertiesModifiedBy() : $this
- Sets form_properties_modified_by
- setFormPropertiesModifiedDateTime() : $this
- Sets form_properties_modified_date_time
- setLastDisabledBy() : $this
- Sets last_disabled_by
- setLastDisabledDateTime() : $this
- Sets last_disabled_date_time
- setLastEnabledBy() : $this
- Sets last_enabled_by
- setLastEnabledDateTime() : $this
- Sets last_enabled_date_time
- setLastModifiedBy() : $this
- Sets last_modified_by
- setLastModifiedDateTime() : $this
- Sets last_modified_date_time
- setLastPublishedBy() : $this
- Sets last_published_by
- setLastPublishedDateTime() : $this
- Sets last_published_date_time
- setLastSenderConsentDateTime() : $this
- Sets last_sender_consent_date_time
- setOwner() : $this
- Sets owner
- setPublishedComponentNames() : $this
- Sets published_component_names
- setPublishedSlug() : $this
- Sets published_slug
- setSender() : $this
- Sets sender
- setSource() : $this
- Sets source
- setSourceFormId() : $this
- Sets source_form_id
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setType() : $this
- Sets type
- 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
= ['source' => 'source', 'type' => 'type', 'source_form_id' => 'sourceFormId', 'owner' => 'owner', 'sender' => 'sender', 'last_modified_by' => 'lastModifiedBy', 'form_content_modified_by' => 'formContentModifiedBy', 'form_properties_modified_by' => 'formPropertiesModifiedBy', 'last_published_by' => 'lastPublishedBy', 'last_enabled_by' => 'lastEnabledBy', 'last_disabled_by' => 'lastDisabledBy', 'archived_date_time' => 'archivedDateTime', 'created_date_time' => 'createdDateTime', 'last_modified_date_time' => 'lastModifiedDateTime', 'form_content_modified_date_time' => 'formContentModifiedDateTime', 'form_properties_modified_date_time' => 'formPropertiesModifiedDateTime', 'last_published_date_time' => 'lastPublishedDateTime', 'last_enabled_date_time' => 'lastEnabledDateTime', 'last_disabled_date_time' => 'lastDisabledDateTime', 'last_sender_consent_date_time' => 'lastSenderConsentDateTime', 'published_slug' => 'publishedSlug', 'published_component_names' => 'publishedComponentNames']
$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
= ['source' => 'getSource', 'type' => 'getType', 'source_form_id' => 'getSourceFormId', 'owner' => 'getOwner', 'sender' => 'getSender', 'last_modified_by' => 'getLastModifiedBy', 'form_content_modified_by' => 'getFormContentModifiedBy', 'form_properties_modified_by' => 'getFormPropertiesModifiedBy', 'last_published_by' => 'getLastPublishedBy', 'last_enabled_by' => 'getLastEnabledBy', 'last_disabled_by' => 'getLastDisabledBy', 'archived_date_time' => 'getArchivedDateTime', 'created_date_time' => 'getCreatedDateTime', 'last_modified_date_time' => 'getLastModifiedDateTime', 'form_content_modified_date_time' => 'getFormContentModifiedDateTime', 'form_properties_modified_date_time' => 'getFormPropertiesModifiedDateTime', 'last_published_date_time' => 'getLastPublishedDateTime', 'last_enabled_date_time' => 'getLastEnabledDateTime', 'last_disabled_date_time' => 'getLastDisabledDateTime', 'last_sender_consent_date_time' => 'getLastSenderConsentDateTime', 'published_slug' => 'getPublishedSlug', 'published_component_names' => 'getPublishedComponentNames']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['source' => 'setSource', 'type' => 'setType', 'source_form_id' => 'setSourceFormId', 'owner' => 'setOwner', 'sender' => 'setSender', 'last_modified_by' => 'setLastModifiedBy', 'form_content_modified_by' => 'setFormContentModifiedBy', 'form_properties_modified_by' => 'setFormPropertiesModifiedBy', 'last_published_by' => 'setLastPublishedBy', 'last_enabled_by' => 'setLastEnabledBy', 'last_disabled_by' => 'setLastDisabledBy', 'archived_date_time' => 'setArchivedDateTime', 'created_date_time' => 'setCreatedDateTime', 'last_modified_date_time' => 'setLastModifiedDateTime', 'form_content_modified_date_time' => 'setFormContentModifiedDateTime', 'form_properties_modified_date_time' => 'setFormPropertiesModifiedDateTime', 'last_published_date_time' => 'setLastPublishedDateTime', 'last_enabled_date_time' => 'setLastEnabledDateTime', 'last_disabled_date_time' => 'setLastDisabledDateTime', 'last_sender_consent_date_time' => 'setLastSenderConsentDateTime', 'published_slug' => 'setPublishedSlug', 'published_component_names' => 'setPublishedComponentNames']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['source' => null, 'type' => null, 'source_form_id' => null, 'owner' => null, 'sender' => null, 'last_modified_by' => null, 'form_content_modified_by' => null, 'form_properties_modified_by' => null, 'last_published_by' => null, 'last_enabled_by' => null, 'last_disabled_by' => null, 'archived_date_time' => 'date-time', 'created_date_time' => 'date-time', 'last_modified_date_time' => 'date-time', 'form_content_modified_date_time' => 'date-time', 'form_properties_modified_date_time' => 'date-time', 'last_published_date_time' => 'date-time', 'last_enabled_date_time' => 'date-time', 'last_disabled_date_time' => 'date-time', 'last_sender_consent_date_time' => 'date-time', 'published_slug' => null, 'published_component_names' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'WebFormMetadata'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['source' => '\\DocuSign\\WebForms\\Model\\WebFormSource', 'type' => '\\DocuSign\\WebForms\\Model\\WebFormType', 'source_form_id' => '?string', 'owner' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'sender' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'last_modified_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'form_content_modified_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'form_properties_modified_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'last_published_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'last_enabled_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'last_disabled_by' => '\\DocuSign\\WebForms\\Model\\WebFormUserInfo', 'archived_date_time' => '?string', 'created_date_time' => '?string', 'last_modified_date_time' => '?string', 'form_content_modified_date_time' => '?string', 'form_properties_modified_date_time' => '?string', 'last_published_date_time' => '?string', 'last_enabled_date_time' => '?string', 'last_disabled_date_time' => '?string', 'last_sender_consent_date_time' => '?string', 'published_slug' => '?string', 'published_component_names' => 'map[string,\\DocuSign\\WebForms\\Model\\WebFormComponentType]']
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> —getArchivedDateTime()
Gets archived_date_time
public
getArchivedDateTime() : string|null
Return values
string|null —getCreatedDateTime()
Gets created_date_time
public
getCreatedDateTime() : string|null
Return values
string|null —getFormContentModifiedBy()
Gets form_content_modified_by
public
getFormContentModifiedBy() : WebFormUserInfo
Return values
WebFormUserInfo —getFormContentModifiedDateTime()
Gets form_content_modified_date_time
public
getFormContentModifiedDateTime() : string|null
Return values
string|null —getFormPropertiesModifiedBy()
Gets form_properties_modified_by
public
getFormPropertiesModifiedBy() : WebFormUserInfo
Return values
WebFormUserInfo —getFormPropertiesModifiedDateTime()
Gets form_properties_modified_date_time
public
getFormPropertiesModifiedDateTime() : string|null
Return values
string|null —getLastDisabledBy()
Gets last_disabled_by
public
getLastDisabledBy() : WebFormUserInfo
Return values
WebFormUserInfo —getLastDisabledDateTime()
Gets last_disabled_date_time
public
getLastDisabledDateTime() : string|null
Return values
string|null —getLastEnabledBy()
Gets last_enabled_by
public
getLastEnabledBy() : WebFormUserInfo
Return values
WebFormUserInfo —getLastEnabledDateTime()
Gets last_enabled_date_time
public
getLastEnabledDateTime() : string|null
Return values
string|null —getLastModifiedBy()
Gets last_modified_by
public
getLastModifiedBy() : WebFormUserInfo
Return values
WebFormUserInfo —getLastModifiedDateTime()
Gets last_modified_date_time
public
getLastModifiedDateTime() : string|null
Return values
string|null —getLastPublishedBy()
Gets last_published_by
public
getLastPublishedBy() : WebFormUserInfo
Return values
WebFormUserInfo —getLastPublishedDateTime()
Gets last_published_date_time
public
getLastPublishedDateTime() : string|null
Return values
string|null —getLastSenderConsentDateTime()
Gets last_sender_consent_date_time
public
getLastSenderConsentDateTime() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getOwner()
Gets owner
public
getOwner() : WebFormUserInfo
Return values
WebFormUserInfo —getPublishedComponentNames()
Gets published_component_names
public
getPublishedComponentNames() : mixed
Return values
mixed —getPublishedSlug()
Gets published_slug
public
getPublishedSlug() : string|null
Return values
string|null —getSender()
Gets sender
public
getSender() : WebFormUserInfo
Return values
WebFormUserInfo —getSource()
Gets source
public
getSource() : WebFormSource
Return values
WebFormSource —getSourceFormId()
Gets source_form_id
public
getSourceFormId() : string|null
Return values
string|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> —getType()
Gets type
public
getType() : WebFormType
Return values
WebFormType —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 —setArchivedDateTime()
Sets archived_date_time
public
setArchivedDateTime(string|null $archived_date_time) : $this
Parameters
- $archived_date_time : string|null
-
The last time the web form was archived
Return values
$this —setCreatedDateTime()
Sets created_date_time
public
setCreatedDateTime(string|null $created_date_time) : $this
Parameters
- $created_date_time : string|null
-
Track the time the web form was created
Return values
$this —setFormContentModifiedBy()
Sets form_content_modified_by
public
setFormContentModifiedBy(WebFormUserInfo $form_content_modified_by) : $this
Parameters
- $form_content_modified_by : WebFormUserInfo
-
Track the user that last modified the form content
Return values
$this —setFormContentModifiedDateTime()
Sets form_content_modified_date_time
public
setFormContentModifiedDateTime(string|null $form_content_modified_date_time) : $this
Parameters
- $form_content_modified_date_time : string|null
-
Track the last time web form content changed.
Return values
$this —setFormPropertiesModifiedBy()
Sets form_properties_modified_by
public
setFormPropertiesModifiedBy(WebFormUserInfo $form_properties_modified_by) : $this
Parameters
- $form_properties_modified_by : WebFormUserInfo
-
Track the user that last modified the form properties
Return values
$this —setFormPropertiesModifiedDateTime()
Sets form_properties_modified_date_time
public
setFormPropertiesModifiedDateTime(string|null $form_properties_modified_date_time) : $this
Parameters
- $form_properties_modified_date_time : string|null
-
Track the last time the form properties changed.
Return values
$this —setLastDisabledBy()
Sets last_disabled_by
public
setLastDisabledBy(WebFormUserInfo $last_disabled_by) : $this
Parameters
- $last_disabled_by : WebFormUserInfo
-
Track the user that last unpublished an active version
Return values
$this —setLastDisabledDateTime()
Sets last_disabled_date_time
public
setLastDisabledDateTime(string|null $last_disabled_date_time) : $this
Parameters
- $last_disabled_date_time : string|null
-
Track the last time the form was disabled
Return values
$this —setLastEnabledBy()
Sets last_enabled_by
public
setLastEnabledBy(WebFormUserInfo $last_enabled_by) : $this
Parameters
- $last_enabled_by : WebFormUserInfo
-
Track the user that last unpublished an active version
Return values
$this —setLastEnabledDateTime()
Sets last_enabled_date_time
public
setLastEnabledDateTime(string|null $last_enabled_date_time) : $this
Parameters
- $last_enabled_date_time : string|null
-
Track the last time the form was enabled
Return values
$this —setLastModifiedBy()
Sets last_modified_by
public
setLastModifiedBy(WebFormUserInfo $last_modified_by) : $this
Parameters
- $last_modified_by : WebFormUserInfo
-
Track the user that last modified anything related to the form
Return values
$this —setLastModifiedDateTime()
Sets last_modified_date_time
public
setLastModifiedDateTime(string|null $last_modified_date_time) : $this
Parameters
- $last_modified_date_time : string|null
-
The last time anything was modified on the form
Return values
$this —setLastPublishedBy()
Sets last_published_by
public
setLastPublishedBy(WebFormUserInfo $last_published_by) : $this
Parameters
- $last_published_by : WebFormUserInfo
-
Track the user that last published a draft version to active
Return values
$this —setLastPublishedDateTime()
Sets last_published_date_time
public
setLastPublishedDateTime(string|null $last_published_date_time) : $this
Parameters
- $last_published_date_time : string|null
-
Track the last time a draft version was published to active
Return values
$this —setLastSenderConsentDateTime()
Sets last_sender_consent_date_time
public
setLastSenderConsentDateTime(string|null $last_sender_consent_date_time) : $this
Parameters
- $last_sender_consent_date_time : string|null
-
Track the last time a user added their consent for the form.
Return values
$this —setOwner()
Sets owner
public
setOwner(WebFormUserInfo $owner) : $this
Parameters
- $owner : WebFormUserInfo
-
The user that created the form or has been transferred ownership
Return values
$this —setPublishedComponentNames()
Sets published_component_names
public
setPublishedComponentNames(mixed $published_component_names) : $this
Parameters
- $published_component_names : mixed
Return values
$this —setPublishedSlug()
Sets published_slug
public
setPublishedSlug(string|null $published_slug) : $this
Parameters
- $published_slug : string|null
-
The public friendly slug that is used to access the form from the player
Return values
$this —setSender()
Sets sender
public
setSender(WebFormUserInfo $sender) : $this
Parameters
- $sender : WebFormUserInfo
-
The user that has added their consent to the form for sending actions
Return values
$this —setSource()
Sets source
public
setSource(WebFormSource $source) : $this
Parameters
- $source : WebFormSource
-
The source from which the webform is created. Accepted values are [templates, blank, form]
Return values
$this —setSourceFormId()
Sets source_form_id
public
setSourceFormId(string|null $source_form_id) : $this
Parameters
- $source_form_id : string|null
-
The source form id from which the webform is created.
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> —setType()
Sets type
public
setType(WebFormType $type) : $this
Parameters
- $type : WebFormType
-
Represents webform type. Possible values are [standalone, hasEsignTemplate]
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