Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion src/Client/Auth/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static function getters()
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['account_id'] = isset($data['account_id']) ? $data['account_id'] : null;
$this->container['is_default'] = isset($data['is_default']) ? $data['is_default'] : null;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Auth/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static function getters()
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['rel'] = isset($data['rel']) ? $data['rel'] : null;
$this->container['href'] = isset($data['href']) ? $data['href'] : null;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Auth/OAuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static function getters()
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['access_token'] = isset($data['access_token']) ? $data['access_token'] : null;
$this->container['data'] = isset($data['data']) ? $data['data'] : null;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Auth/Organization.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static function getters()
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['organization_id'] = isset($data['organization_id']) ? $data['organization_id'] : null;
$this->container['links'] = isset($data['links']) ? $data['links'] : null;
Expand Down
4 changes: 2 additions & 2 deletions src/Client/Auth/UserInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static function getters()
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['sub'] = isset($data['sub']) ? $data['sub'] : null;
$this->container['email'] = isset($data['email']) ? $data['email'] : null;
Expand Down Expand Up @@ -203,7 +203,7 @@ public function getEmail()

/**
* Sets email
* @param string $email
* @param string $email
* @return $this
*/
public function setEmail($email)
Expand Down
40 changes: 20 additions & 20 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,85 +182,85 @@ class Configuration
/**
* Constructor
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->tempFolderPath = sys_get_temp_dir();
if(isset($data["apiKeys"]))
{
$this->apiKeys = $data["apiKeys"];
}
}
if(isset($data["apiKeyPrefixes"]))
{
$this->apiKeyPrefixes = $data["apiKeyPrefixes"];
}
}
if(isset($data["accessToken"]))
{
$this->accessToken = $data["accessToken"];
}
}
if(isset($data["username"]))
{
$this->username = $data["username"];
}
}
if(isset($data["password"]))
{
$this->password = $data["password"];
}
}
if(isset($data["defaultHeaders"]))
{
$this->defaultHeaders = $data["defaultHeaders"];
}
}
if(isset($data["host"]))
{
$this->host = $data["host"];
}
}
if(isset($data["curlTimeout"]))
{
$this->curlTimeout = $data["curlTimeout"];
}
}
if(isset($data["curlConnectTimeout"]))
{
$this->curlConnectTimeout = $data["curlConnectTimeout"];
}
}
if(isset($data["userAgent"]))
{
$this->userAgent = $data["userAgent"];
}
}
if(isset($data["debug"]))
{
$this->debug = $data["debug"];
}
}
if(isset($data["debugFile"]))
{
$this->debugFile = $data["debugFile"];
}
}
if(isset($data["tempFolderPath"]))
{
$this->tempFolderPath = $data["tempFolderPath"];
}
}
if(isset($data["sslVerification"]))
{
$this->sslVerification = $data["sslVerification"];
}
}
if(isset($data["proxyHost"]))
{
$this->proxyHost = $data["proxyHost"];
}
}
if(isset($data["proxyPort"]))
{
$this->proxyPort = $data["proxyPort"];
}
}
if(isset($data["proxyType"]))
{
$this->proxyType = $data["proxyType"];
}
}
if(isset($data["proxyUser"]))
{
$this->proxyUser = $data["proxyUser"];
}
}
if(isset($data["proxyPassword"]))
{
$this->proxyPassword = $data["proxyPassword"];
}
}
}

/**
Expand Down
16 changes: 8 additions & 8 deletions src/Model/AccessCodeFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ public function getModelName()
return self::$swaggerModelName;
}







/**
* Associative array for storing property values
Expand All @@ -223,7 +223,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['format_required'] = isset($data['format_required']) ? $data['format_required'] : null;
$this->container['format_required_metadata'] = isset($data['format_required_metadata']) ? $data['format_required_metadata'] : null;
Expand Down Expand Up @@ -274,7 +274,7 @@ public function getFormatRequired()
/**
* Sets format_required
*
* @param ?string $format_required
* @param ?string $format_required
*
* @return $this
*/
Expand Down Expand Up @@ -322,7 +322,7 @@ public function getLetterRequired()
/**
* Sets letter_required
*
* @param ?string $letter_required
* @param ?string $letter_required
*
* @return $this
*/
Expand Down Expand Up @@ -370,7 +370,7 @@ public function getMinimumLength()
/**
* Sets minimum_length
*
* @param ?string $minimum_length
* @param ?string $minimum_length
*
* @return $this
*/
Expand Down Expand Up @@ -418,7 +418,7 @@ public function getNumberRequired()
/**
* Sets number_required
*
* @param ?string $number_required
* @param ?string $number_required
*
* @return $this
*/
Expand Down Expand Up @@ -466,7 +466,7 @@ public function getSpecialCharacterRequired()
/**
* Sets special_character_required
*
* @param ?string $special_character_required
* @param ?string $special_character_required
*
* @return $this
*/
Expand Down
16 changes: 8 additions & 8 deletions src/Model/AccountAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ public function getModelName()
return self::$swaggerModelName;
}







/**
* Associative array for storing property values
Expand All @@ -233,7 +233,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['address1'] = isset($data['address1']) ? $data['address1'] : null;
$this->container['address2'] = isset($data['address2']) ? $data['address2'] : null;
Expand Down Expand Up @@ -382,7 +382,7 @@ public function getEmail()
/**
* Sets email
*
* @param ?string $email
* @param ?string $email
*
* @return $this
*/
Expand All @@ -406,7 +406,7 @@ public function getFax()
/**
* Sets fax
*
* @param ?string $fax
* @param ?string $fax
*
* @return $this
*/
Expand Down Expand Up @@ -454,7 +454,7 @@ public function getLastName()
/**
* Sets last_name
*
* @param ?string $last_name
* @param ?string $last_name
*
* @return $this
*/
Expand All @@ -478,7 +478,7 @@ public function getPhone()
/**
* Sets phone
*
* @param ?string $phone
* @param ?string $phone
*
* @return $this
*/
Expand All @@ -502,7 +502,7 @@ public function getPostalCode()
/**
* Sets postal_code
*
* @param ?string $postal_code
* @param ?string $postal_code
*
* @return $this
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountBillingPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['add_ons'] = isset($data['add_ons']) ? $data['add_ons'] : null;
$this->container['app_store_receipt_expiration_date'] = isset($data['app_store_receipt_expiration_date']) ? $data['app_store_receipt_expiration_date'] : null;
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountBillingPlanResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['billing_address'] = isset($data['billing_address']) ? $data['billing_address'] : null;
$this->container['billing_address_is_credit_card_address'] = isset($data['billing_address_is_credit_card_address']) ? $data['billing_address_is_credit_card_address'] : null;
Expand Down
12 changes: 6 additions & 6 deletions src/Model/AccountIdentityInputOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ public function getModelName()
return self::$swaggerModelName;
}







/**
* Associative array for storing property values
Expand All @@ -187,7 +187,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['is_required'] = isset($data['is_required']) ? $data['is_required'] : null;
$this->container['option_name'] = isset($data['option_name']) ? $data['option_name'] : null;
Expand Down Expand Up @@ -231,7 +231,7 @@ public function getIsRequired()
/**
* Sets is_required
*
* @param ?bool $is_required
* @param ?bool $is_required
*
* @return $this
*/
Expand All @@ -255,7 +255,7 @@ public function getOptionName()
/**
* Sets option_name
*
* @param ?string $option_name
* @param ?string $option_name
*
* @return $this
*/
Expand All @@ -279,7 +279,7 @@ public function getValueType()
/**
* Sets value_type
*
* @param ?string $value_type
* @param ?string $value_type
*
* @return $this
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Model/AccountIdentityVerificationResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ public function getModelName()
return self::$swaggerModelName;
}







/**
* Associative array for storing property values
Expand All @@ -177,7 +177,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['identity_verification'] = isset($data['identity_verification']) ? $data['identity_verification'] : null;
}
Expand Down Expand Up @@ -219,7 +219,7 @@ public function getIdentityVerification()
/**
* Sets identity_verification
*
* @param \DocuSign\eSign\Model\AccountIdentityVerificationWorkflow[] $identity_verification
* @param \DocuSign\eSign\Model\AccountIdentityVerificationWorkflow[] $identity_verification
*
* @return $this
*/
Expand Down
Loading