ClickwrapVersion
in package
implements
ModelInterface, ArrayAccess
ClickwrapVersion 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
- getClickwrapVersionId() : string|null
- Gets clickwrap_version_id
- getCreatedTime() : object
- Gets created_time
- getDataFields() : array<string|int, DataField>
- Gets data_fields
- getLastModified() : object
- Gets last_modified
- getLastModifiedBy() : string|null
- Gets last_modified_by
- getModelName() : string
- The original name of the model.
- getOwnerUserId() : string|null
- Gets owner_user_id
- getRequireReacceptance() : bool|null
- Gets require_reacceptance
- getScheduledDate() : object
- Gets scheduled_date
- getScheduledReacceptance() : ClickwrapScheduledReacceptance
- Gets scheduled_reacceptance
- getStatus() : string|null
- Gets status
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getVersionId() : string|null
- Gets version_id
- getVersionNumber() : string|null
- Gets version_number
- 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.
- setClickwrapVersionId() : $this
- Sets clickwrap_version_id
- setCreatedTime() : $this
- Sets created_time
- setDataFields() : $this
- Sets data_fields
- setLastModified() : $this
- Sets last_modified
- setLastModifiedBy() : $this
- Sets last_modified_by
- setOwnerUserId() : $this
- Sets owner_user_id
- setRequireReacceptance() : $this
- Sets require_reacceptance
- setScheduledDate() : $this
- Sets scheduled_date
- setScheduledReacceptance() : $this
- Sets scheduled_reacceptance
- setStatus() : $this
- Sets status
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setVersionId() : $this
- Sets version_id
- setVersionNumber() : $this
- Sets version_number
- 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
= ['clickwrap_version_id' => 'clickwrapVersionId', 'created_time' => 'createdTime', 'data_fields' => 'dataFields', 'last_modified' => 'lastModified', 'last_modified_by' => 'lastModifiedBy', 'owner_user_id' => 'ownerUserId', 'require_reacceptance' => 'requireReacceptance', 'scheduled_date' => 'scheduledDate', 'scheduled_reacceptance' => 'scheduledReacceptance', 'status' => 'status', 'version_id' => 'versionId', 'version_number' => 'versionNumber']
$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
= ['clickwrap_version_id' => 'getClickwrapVersionId', 'created_time' => 'getCreatedTime', 'data_fields' => 'getDataFields', 'last_modified' => 'getLastModified', 'last_modified_by' => 'getLastModifiedBy', 'owner_user_id' => 'getOwnerUserId', 'require_reacceptance' => 'getRequireReacceptance', 'scheduled_date' => 'getScheduledDate', 'scheduled_reacceptance' => 'getScheduledReacceptance', 'status' => 'getStatus', 'version_id' => 'getVersionId', 'version_number' => 'getVersionNumber']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['clickwrap_version_id' => 'setClickwrapVersionId', 'created_time' => 'setCreatedTime', 'data_fields' => 'setDataFields', 'last_modified' => 'setLastModified', 'last_modified_by' => 'setLastModifiedBy', 'owner_user_id' => 'setOwnerUserId', 'require_reacceptance' => 'setRequireReacceptance', 'scheduled_date' => 'setScheduledDate', 'scheduled_reacceptance' => 'setScheduledReacceptance', 'status' => 'setStatus', 'version_id' => 'setVersionId', 'version_number' => 'setVersionNumber']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['clickwrap_version_id' => null, 'created_time' => null, 'data_fields' => null, 'last_modified' => null, 'last_modified_by' => null, 'owner_user_id' => null, 'require_reacceptance' => null, 'scheduled_date' => null, 'scheduled_reacceptance' => null, 'status' => null, 'version_id' => null, 'version_number' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'clickwrapVersion'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['clickwrap_version_id' => '?string', 'created_time' => 'object', 'data_fields' => '\\DocuSign\\Click\\Model\\DataField[]', 'last_modified' => 'object', 'last_modified_by' => '?string', 'owner_user_id' => '?string', 'require_reacceptance' => '?bool', 'scheduled_date' => 'object', 'scheduled_reacceptance' => '\\DocuSign\\Click\\Model\\ClickwrapScheduledReacceptance', 'status' => '?string', 'version_id' => '?string', 'version_number' => '?string']
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> —getClickwrapVersionId()
Gets clickwrap_version_id
public
getClickwrapVersionId() : string|null
Return values
string|null —getCreatedTime()
Gets created_time
public
getCreatedTime() : object
Return values
object —getDataFields()
Gets data_fields
public
getDataFields() : array<string|int, DataField>
Return values
array<string|int, DataField> —getLastModified()
Gets last_modified
public
getLastModified() : object
Return values
object —getLastModifiedBy()
Gets last_modified_by
public
getLastModifiedBy() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getOwnerUserId()
Gets owner_user_id
public
getOwnerUserId() : string|null
Return values
string|null —getRequireReacceptance()
Gets require_reacceptance
public
getRequireReacceptance() : bool|null
Return values
bool|null —getScheduledDate()
Gets scheduled_date
public
getScheduledDate() : object
Return values
object —getScheduledReacceptance()
Gets scheduled_reacceptance
public
getScheduledReacceptance() : ClickwrapScheduledReacceptance
Return values
ClickwrapScheduledReacceptance —getStatus()
Gets status
public
getStatus() : 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> —getVersionId()
Gets version_id
public
getVersionId() : string|null
Return values
string|null —getVersionNumber()
Gets version_number
public
getVersionNumber() : 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 —setClickwrapVersionId()
Sets clickwrap_version_id
public
setClickwrapVersionId(string|null $clickwrap_version_id) : $this
Parameters
- $clickwrap_version_id : string|null
-
The unique version ID, a GUID, of this clickwrap version.
Return values
$this —setCreatedTime()
Sets created_time
public
setCreatedTime(object $created_time) : $this
Parameters
- $created_time : object
-
The time that the clickwrap was created.
Return values
$this —setDataFields()
Sets data_fields
public
setDataFields(array<string|int, DataField> $data_fields) : $this
Parameters
- $data_fields : array<string|int, DataField>
-
The list of all the data fields available for the clickwrap (custom fields and standard fields).
Return values
$this —setLastModified()
Sets last_modified
public
setLastModified(object $last_modified) : $this
Parameters
- $last_modified : object
-
The time that the clickwrap was last modified.
Return values
$this —setLastModifiedBy()
Sets last_modified_by
public
setLastModifiedBy(string|null $last_modified_by) : $this
Parameters
- $last_modified_by : string|null
-
The user ID of the last user who modified this clickwrap.
Return values
$this —setOwnerUserId()
Sets owner_user_id
public
setOwnerUserId(string|null $owner_user_id) : $this
Parameters
- $owner_user_id : string|null
-
The user ID of the owner of this clickwrap.
Return values
$this —setRequireReacceptance()
Sets require_reacceptance
public
setRequireReacceptance(bool|null $require_reacceptance) : $this
Parameters
- $require_reacceptance : bool|null
-
When true, requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.
Return values
$this —setScheduledDate()
Sets scheduled_date
public
setScheduledDate(object $scheduled_date) : $this
Parameters
- $scheduled_date : object
-
The time and date when this clickwrap is activated.
Return values
$this —setScheduledReacceptance()
Sets scheduled_reacceptance
public
setScheduledReacceptance(ClickwrapScheduledReacceptance $scheduled_reacceptance) : $this
Parameters
- $scheduled_reacceptance : ClickwrapScheduledReacceptance
-
Specifies the interval between reacceptances in days, weeks, months, or years.
Return values
$this —setStatus()
Sets status
public
setStatus(string|null $status) : $this
Parameters
- $status : string|null
-
Clickwrap status. Possible values: -
active-inactive-deleted
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(string|null $version_id) : $this
Parameters
- $version_id : string|null
-
The ID of the version.
Return values
$this —setVersionNumber()
Sets version_number
public
setVersionNumber(string|null $version_number) : $this
Parameters
- $version_number : string|null
-
Version of the clickwrap.
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