Skip to content

Commit

Permalink
[Librarian] Regenerated @ b8981cc124150c7112387152deb5f97fb9a25d66
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jan 27, 2023
1 parent 246cba9 commit e8f1265
Show file tree
Hide file tree
Showing 1,161 changed files with 2,797 additions and 4,196 deletions.
5 changes: 2 additions & 3 deletions src/Twilio/Rest/Accounts/V1/AuthTokenPromotionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class AuthTokenPromotionContext extends InstanceContext
*/
public function __construct(
Version $version
)
{
) {
parent::__construct($version);

// Path Solution
Expand All @@ -55,7 +54,7 @@ public function update(): AuthTokenPromotionInstance

return new AuthTokenPromotionInstance(
$this->version,
$payload,
$payload
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Accounts/V1/AuthTokenPromotionList.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class AuthTokenPromotionList extends ListResource
* @param Version $version Version that contains the resource
*/
public function __construct(
Version $version)
{
Version $version
) {
parent::__construct($version);

// Path Solution
Expand Down
7 changes: 3 additions & 4 deletions src/Twilio/Rest/Accounts/V1/Credential/AwsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ class AwsContext extends InstanceContext
public function __construct(
Version $version,
$sid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -76,7 +75,7 @@ public function fetch(): AwsInstance
return new AwsInstance(
$this->version,
$payload,
$this->solution['sid'],
$this->solution['sid']
);
}

Expand All @@ -103,7 +102,7 @@ public function update(array $options = []): AwsInstance
return new AwsInstance(
$this->version,
$payload,
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Accounts/V1/Credential/AwsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class AwsList extends ListResource
* @param Version $version Version that contains the resource
*/
public function __construct(
Version $version)
{
Version $version
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -69,7 +69,7 @@ public function create(string $credentials, array $options = []): AwsInstance

return new AwsInstance(
$this->version,
$payload,
$payload
);
}

Expand Down
6 changes: 2 additions & 4 deletions src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public function __construct(
string $friendlyName = Values::NONE,
string $accountSid = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['accountSid'] = $accountSid;
}
Expand Down Expand Up @@ -123,8 +122,7 @@ public function __construct(

string $friendlyName = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
}

Expand Down
7 changes: 3 additions & 4 deletions src/Twilio/Rest/Accounts/V1/Credential/PublicKeyContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ class PublicKeyContext extends InstanceContext
public function __construct(
Version $version,
$sid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -76,7 +75,7 @@ public function fetch(): PublicKeyInstance
return new PublicKeyInstance(
$this->version,
$payload,
$this->solution['sid'],
$this->solution['sid']
);
}

Expand All @@ -103,7 +102,7 @@ public function update(array $options = []): PublicKeyInstance
return new PublicKeyInstance(
$this->version,
$payload,
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Accounts/V1/Credential/PublicKeyList.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class PublicKeyList extends ListResource
* @param Version $version Version that contains the resource
*/
public function __construct(
Version $version)
{
Version $version
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -69,7 +69,7 @@ public function create(string $publicKey, array $options = []): PublicKeyInstanc

return new PublicKeyInstance(
$this->version,
$payload,
$payload
);
}

Expand Down
6 changes: 2 additions & 4 deletions src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public function __construct(
string $friendlyName = Values::NONE,
string $accountSid = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['accountSid'] = $accountSid;
}
Expand Down Expand Up @@ -123,8 +122,7 @@ public function __construct(

string $friendlyName = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Accounts/V1/CredentialList.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class CredentialList extends ListResource
* @param Version $version Version that contains the resource
*/
public function __construct(
Version $version)
{
Version $version
) {
parent::__construct($version);

// Path Solution
Expand Down
5 changes: 2 additions & 3 deletions src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class SecondaryAuthTokenContext extends InstanceContext
*/
public function __construct(
Version $version
)
{
) {
parent::__construct($version);

// Path Solution
Expand All @@ -55,7 +54,7 @@ public function create(): SecondaryAuthTokenInstance

return new SecondaryAuthTokenInstance(
$this->version,
$payload,
$payload
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenList.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class SecondaryAuthTokenList extends ListResource
* @param Version $version Version that contains the resource
*/
public function __construct(
Version $version)
{
Version $version
) {
parent::__construct($version);

// Path Solution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ class DependentPhoneNumberList extends ListResource
*/
public function __construct(
Version $version,
string $accountSid
,
string $accountSid,
string $addressSid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down
9 changes: 4 additions & 5 deletions src/Twilio/Rest/Api/V2010/Account/AddressContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public function __construct(
Version $version,
$accountSid,
$sid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -90,7 +89,7 @@ public function fetch(): AddressInstance
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down Expand Up @@ -134,7 +133,7 @@ public function update(array $options = []): AddressInstance
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['sid'],
$this->solution['sid']
);
}

Expand All @@ -148,7 +147,7 @@ protected function getDependentPhoneNumbers(): DependentPhoneNumberList
$this->_dependentPhoneNumbers = new DependentPhoneNumberList(
$this->version,
$this->solution['accountSid'],
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down
5 changes: 2 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/AddressList.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class AddressList extends ListResource
public function __construct(
Version $version,
string $accountSid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -97,7 +96,7 @@ public function create(string $customerName, string $street, string $city, strin
return new AddressInstance(
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['accountSid']
);
}

Expand Down
9 changes: 3 additions & 6 deletions src/Twilio/Rest/Api/V2010/Account/AddressOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ public function __construct(
bool $autoCorrectAddress = Values::NONE,
string $streetSecondary = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['emergencyEnabled'] = $emergencyEnabled;
$this->options['autoCorrectAddress'] = $autoCorrectAddress;
Expand Down Expand Up @@ -206,8 +205,7 @@ public function __construct(
string $friendlyName = Values::NONE,
string $isoCountry = Values::NONE

)
{
) {
$this->options['customerName'] = $customerName;
$this->options['friendlyName'] = $friendlyName;
$this->options['isoCountry'] = $isoCountry;
Expand Down Expand Up @@ -286,8 +284,7 @@ public function __construct(
bool $autoCorrectAddress = Values::NONE,
string $streetSecondary = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['customerName'] = $customerName;
$this->options['street'] = $street;
Expand Down
7 changes: 3 additions & 4 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public function __construct(
Version $version,
$accountSid,
$sid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -83,7 +82,7 @@ public function fetch(): ApplicationInstance
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down Expand Up @@ -141,7 +140,7 @@ public function update(array $options = []): ApplicationInstance
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['sid'],
$this->solution['sid']
);
}

Expand Down
5 changes: 2 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationList.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class ApplicationList extends ListResource
public function __construct(
Version $version,
string $accountSid
)
{
) {
parent::__construct($version);

// Path Solution
Expand Down Expand Up @@ -103,7 +102,7 @@ public function create(array $options = []): ApplicationInstance
return new ApplicationInstance(
$this->version,
$payload,
$this->solution['accountSid'],
$this->solution['accountSid']
);
}

Expand Down
9 changes: 3 additions & 6 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ public function __construct(
string $friendlyName = Values::NONE,
bool $publicApplicationConnectEnabled = Values::NONE

)
{
) {
$this->options['apiVersion'] = $apiVersion;
$this->options['voiceUrl'] = $voiceUrl;
$this->options['voiceMethod'] = $voiceMethod;
Expand Down Expand Up @@ -433,8 +432,7 @@ public function __construct(

string $friendlyName = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
}

Expand Down Expand Up @@ -501,8 +499,7 @@ public function __construct(
string $messageStatusCallback = Values::NONE,
bool $publicApplicationConnectEnabled = Values::NONE

)
{
) {
$this->options['friendlyName'] = $friendlyName;
$this->options['apiVersion'] = $apiVersion;
$this->options['voiceUrl'] = $voiceUrl;
Expand Down
Loading

0 comments on commit e8f1265

Please sign in to comment.