Documentation

WebFormSummary
in package
implements ModelInterface, ArrayAccess

WebFormSummary Class Doc Comment

Tags
category

Class

description

An object that summarizes an instance of a form that can be used to display a listing

author

Swagger Codegen team apihelp@docusign.com

license

The Docusign PHP Client SDK is licensed under the MIT License.

link
https://github.com/swagger-api/swagger-codegen

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
getFormMetadata()  : WebFormMetadata
Gets form_metadata
getFormProperties()  : WebFormProperties
Gets form_properties
getFormState()  : WebFormState
Gets form_state
getHasDraftChanges()  : bool|null
Gets has_draft_changes
getId()  : string|null
Gets id
getIsEnabled()  : bool|null
Gets is_enabled
getIsPublished()  : bool|null
Gets is_published
getIsUploaded()  : bool|null
Gets is_uploaded
getModelName()  : string
The original name of the model.
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.
setAccountId()  : $this
Sets account_id
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
setIsUploaded()  : $this
Sets is_uploaded
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

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', 'is_uploaded' => 'isUploaded', 'has_draft_changes' => 'hasDraftChanges', 'form_state' => 'formState', 'form_properties' => 'formProperties', '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', 'is_uploaded' => 'getIsUploaded', 'has_draft_changes' => 'getHasDraftChanges', 'form_state' => 'getFormState', 'form_properties' => 'getFormProperties', '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', 'is_uploaded' => 'setIsUploaded', 'has_draft_changes' => 'setHasDraftChanges', 'form_state' => 'setFormState', 'form_properties' => 'setFormProperties', '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, 'is_uploaded' => null, 'has_draft_changes' => null, 'form_state' => null, 'form_properties' => null, 'form_metadata' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'WebFormSummary'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['id' => '?string', 'account_id' => '?string', 'is_published' => '?bool', 'is_enabled' => '?bool', 'is_uploaded' => '?bool', 'has_draft_changes' => '?bool', 'form_state' => '\\DocuSign\\WebForms\\Model\\WebFormState', 'form_properties' => '\\DocuSign\\WebForms\\Model\\WebFormProperties', '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() : string|null
Return values
string|null —

getHasDraftChanges()

Gets has_draft_changes

public getHasDraftChanges() : bool|null
Return values
bool|null —

getId()

Gets id

public getId() : string|null
Return values
string|null —

getIsEnabled()

Gets is_enabled

public getIsEnabled() : bool|null
Return values
bool|null —

getIsPublished()

Gets is_published

public getIsPublished() : bool|null
Return values
bool|null —

getIsUploaded()

Gets is_uploaded

public getIsUploaded() : 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> —

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 —

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(string|null $id) : $this
Parameters
$id : string|null

id

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 —

setIsUploaded()

Sets is_uploaded

public setIsUploaded(bool|null $is_uploaded) : $this
Parameters
$is_uploaded : bool|null

Has the form created through upload

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

Search results