Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Amazing new feature #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions fc-open-20210406/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
$file = __DIR__ . \DIRECTORY_SEPARATOR . 'src' . \DIRECTORY_SEPARATOR . str_replace('\\', \DIRECTORY_SEPARATOR, $name) . '.php';
if (file_exists($file)) {
require_once $file;

return true;
}

return false;
});
3,653 changes: 1,634 additions & 2,019 deletions fc-open-20210406/src/FCOpen.php

Large diffs are not rendered by default.

31 changes: 10 additions & 21 deletions fc-open-20210406/src/Models/AccelerationInfo.php
Original file line number Diff line number Diff line change
@@ -1,47 +1,36 @@
<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\FCOpen\V20210406\Models;

use AlibabaCloud\Tea\Model;

class AccelerationInfo extends Model
{
/**
* @var string
*/
public $status;
class AccelerationInfo extends Model {
protected $_name = [
'status' => 'status',
];

public function validate()
{
}

public function toMap()
{
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->status) {
$res['status'] = $this->status;
}

return $res;
}

/**
* @param array $map
*
* @return AccelerationInfo
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['status'])) {
if(isset($map['status'])){
$model->status = $map['status'];
}

return $model;
}
/**
* @var string
*/
public $status;

}
59 changes: 24 additions & 35 deletions fc-open-20210406/src/Models/AsyncConfigMeta.php
Original file line number Diff line number Diff line change
@@ -1,39 +1,18 @@
<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\FCOpen\V20210406\Models;

use AlibabaCloud\Tea\Model;

class AsyncConfigMeta extends Model
{
/**
* @var string
*/
public $functionName;

/**
* @var string
*/
public $qualifier;

/**
* @var string
*/
public $serviceName;
class AsyncConfigMeta extends Model {
protected $_name = [
'functionName' => 'functionName',
'qualifier' => 'qualifier',
'serviceName' => 'serviceName',
'qualifier' => 'qualifier',
'serviceName' => 'serviceName',
];

public function validate()
{
}

public function toMap()
{
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->functionName) {
$res['functionName'] = $this->functionName;
Expand All @@ -44,28 +23,38 @@ public function toMap()
if (null !== $this->serviceName) {
$res['serviceName'] = $this->serviceName;
}

return $res;
}

/**
* @param array $map
*
* @return AsyncConfigMeta
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['functionName'])) {
if(isset($map['functionName'])){
$model->functionName = $map['functionName'];
}
if (isset($map['qualifier'])) {
if(isset($map['qualifier'])){
$model->qualifier = $map['qualifier'];
}
if (isset($map['serviceName'])) {
if(isset($map['serviceName'])){
$model->serviceName = $map['serviceName'];
}

return $model;
}
/**
* @var string
*/
public $functionName;

/**
* @var string
*/
public $qualifier;

/**
* @var string
*/
public $serviceName;

}
31 changes: 10 additions & 21 deletions fc-open-20210406/src/Models/AvailableAZ.php
Original file line number Diff line number Diff line change
@@ -1,47 +1,36 @@
<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\FCOpen\V20210406\Models;

use AlibabaCloud\Tea\Model;

class AvailableAZ extends Model
{
/**
* @var string
*/
public $availableAZs;
class AvailableAZ extends Model {
protected $_name = [
'availableAZs' => 'availableAZs',
];

public function validate()
{
}

public function toMap()
{
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->availableAZs) {
$res['availableAZs'] = $this->availableAZs;
}

return $res;
}

/**
* @param array $map
*
* @return AvailableAZ
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['availableAZs'])) {
if(isset($map['availableAZs'])){
$model->availableAZs = $map['availableAZs'];
}

return $model;
}
/**
* @var string
*/
public $availableAZs;

}
73 changes: 31 additions & 42 deletions fc-open-20210406/src/Models/CDNEventsTriggerConfig.php
Original file line number Diff line number Diff line change
@@ -1,45 +1,19 @@
<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\FCOpen\V20210406\Models;

use AlibabaCloud\Tea\Model;

class CDNEventsTriggerConfig extends Model
{
/**
* @var string
*/
public $eventName;

/**
* @var string
*/
public $eventVersion;

/**
* @var string[][]
*/
public $filter;

/**
* @var string
*/
public $notes;
class CDNEventsTriggerConfig extends Model {
protected $_name = [
'eventName' => 'eventName',
'eventName' => 'eventName',
'eventVersion' => 'eventVersion',
'filter' => 'filter',
'notes' => 'notes',
'filter' => 'filter',
'notes' => 'notes',
];

public function validate()
{
}

public function toMap()
{
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->eventName) {
$res['eventName'] = $this->eventName;
Expand All @@ -53,31 +27,46 @@ public function toMap()
if (null !== $this->notes) {
$res['notes'] = $this->notes;
}

return $res;
}

/**
* @param array $map
*
* @return CDNEventsTriggerConfig
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['eventName'])) {
if(isset($map['eventName'])){
$model->eventName = $map['eventName'];
}
if (isset($map['eventVersion'])) {
if(isset($map['eventVersion'])){
$model->eventVersion = $map['eventVersion'];
}
if (isset($map['filter'])) {
if(isset($map['filter'])){
$model->filter = $map['filter'];
}
if (isset($map['notes'])) {
if(isset($map['notes'])){
$model->notes = $map['notes'];
}

return $model;
}
/**
* @var string
*/
public $eventName;

/**
* @var string
*/
public $eventVersion;

/**
* @var string[][]
*/
public $filter;

/**
* @var string
*/
public $notes;

}
Loading