WebFormWithMetadata
in package
implements
ModelInterface, ArrayAccess
WebFormWithMetadata 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() : Guid
- Gets account_id
- getFormContent() : WebFormContent
- Gets form_content
- getFormMetadata() : WebFormMetadata
- Gets form_metadata
- getFormProperties() : WebFormProperties
- Gets form_properties
- getFormState() : WebFormState
- Gets form_state
- getHasDraftChanges() : bool|null
- Gets has_draft_changes
- getId() : WebFormId
- Gets id
- getIsEnabled() : bool|null
- Gets is_enabled
- getIsPublished() : bool|null
- Gets is_published
- getModelName() : string
- The original name of the model.
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getVersionId() : WebFormVersionId
- Gets version_id
- 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
- setFormContent() : $this
- Sets form_content
- setFormMetadata() : $this
- Sets form_metadata
- setFormProperties() : $this
- Sets form_properties
- setFormState() : $this
- Sets form_state
- setHasDraftChanges() : $this
- Sets has_draft_changes
- setId() : $this
- Sets id
- setIsEnabled() : $this
- Sets is_enabled
- setIsPublished() : $this
- Sets is_published
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setVersionId() : $this
- Sets version_id
- 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
= ['id' => 'id', 'account_id' => 'accountId', 'is_published' => 'isPublished', 'is_enabled' => 'isEnabled', 'has_draft_changes' => 'hasDraftChanges', 'version_id' => 'versionId', 'form_state' => 'formState', 'form_properties' => 'formProperties', 'form_content' => 'formContent', 'form_metadata' => 'formMetadata']
$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
= ['id' => 'getId', 'account_id' => 'getAccountId', 'is_published' => 'getIsPublished', 'is_enabled' => 'getIsEnabled', 'has_draft_changes' => 'getHasDraftChanges', 'version_id' => 'getVersionId', 'form_state' => 'getFormState', 'form_properties' => 'getFormProperties', 'form_content' => 'getFormContent', 'form_metadata' => 'getFormMetadata']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['id' => 'setId', 'account_id' => 'setAccountId', 'is_published' => 'setIsPublished', 'is_enabled' => 'setIsEnabled', 'has_draft_changes' => 'setHasDraftChanges', 'version_id' => 'setVersionId', 'form_state' => 'setFormState', 'form_properties' => 'setFormProperties', 'form_content' => 'setFormContent', 'form_metadata' => 'setFormMetadata']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['id' => null, 'account_id' => null, 'is_published' => null, 'is_enabled' => null, 'has_draft_changes' => null, 'version_id' => null, 'form_state' => null, 'form_properties' => null, 'form_content' => null, 'form_metadata' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'WebFormWithMetadata'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['id' => '\\DocuSign\\WebForms\\Model\\WebFormId', 'account_id' => '\\DocuSign\\WebForms\\Model\\Guid', 'is_published' => '?bool', 'is_enabled' => '?bool', 'has_draft_changes' => '?bool', 'version_id' => '\\DocuSign\\WebForms\\Model\\WebFormVersionId', 'form_state' => '\\DocuSign\\WebForms\\Model\\WebFormState', 'form_properties' => '\\DocuSign\\WebForms\\Model\\WebFormProperties', 'form_content' => '\\DocuSign\\WebForms\\Model\\WebFormContent', 'form_metadata' => '\\DocuSign\\WebForms\\Model\\WebFormMetadata']
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() : Guid
Return values
Guid —getFormContent()
Gets form_content
public
getFormContent() : WebFormContent
Return values
WebFormContent —getFormMetadata()
Gets form_metadata
public
getFormMetadata() : WebFormMetadata
Return values
WebFormMetadata —getFormProperties()
Gets form_properties
public
getFormProperties() : WebFormProperties
Return values
WebFormProperties —getFormState()
Gets form_state
public
getFormState() : WebFormState
Return values
WebFormState —getHasDraftChanges()
Gets has_draft_changes
public
getHasDraftChanges() : bool|null
Return values
bool|null —getId()
Gets id
public
getId() : WebFormId
Return values
WebFormId —getIsEnabled()
Gets is_enabled
public
getIsEnabled() : bool|null
Return values
bool|null —getIsPublished()
Gets is_published
public
getIsPublished() : bool|null
Return values
bool|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
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> —getVersionId()
Gets version_id
public
getVersionId() : WebFormVersionId
Return values
WebFormVersionId —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(Guid $account_id) : $this
Parameters
- $account_id : Guid
-
Account identifier
Return values
$this —setFormContent()
Sets form_content
public
setFormContent(WebFormContent $form_content) : $this
Parameters
- $form_content : WebFormContent
-
Content of the form that is used during configuration and data collection
Return values
$this —setFormMetadata()
Sets form_metadata
public
setFormMetadata(WebFormMetadata $form_metadata) : $this
Parameters
- $form_metadata : WebFormMetadata
-
Form metadata
Return values
$this —setFormProperties()
Sets form_properties
public
setFormProperties(WebFormProperties $form_properties) : $this
Parameters
- $form_properties : WebFormProperties
-
Form properties
Return values
$this —setFormState()
Sets form_state
public
setFormState(WebFormState $form_state) : $this
Parameters
- $form_state : WebFormState
-
form_state
Return values
$this —setHasDraftChanges()
Sets has_draft_changes
public
setHasDraftChanges(bool|null $has_draft_changes) : $this
Parameters
- $has_draft_changes : bool|null
-
Does the form have draft changes that need to be published?
Return values
$this —setId()
Sets id
public
setId(WebFormId $id) : $this
Parameters
- $id : WebFormId
-
Unique identifier for the web form
Return values
$this —setIsEnabled()
Sets is_enabled
public
setIsEnabled(bool|null $is_enabled) : $this
Parameters
- $is_enabled : bool|null
-
Is the form currently enabled and available for data collection
Return values
$this —setIsPublished()
Sets is_published
public
setIsPublished(bool|null $is_published) : $this
Parameters
- $is_published : bool|null
-
Has the form been published
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> —setVersionId()
Sets version_id
public
setVersionId(WebFormVersionId $version_id) : $this
Parameters
- $version_id : WebFormVersionId
-
Identifier for the current version of the form that is published
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