Skip to content
Closed
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 ft-20180713/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;
});
587 changes: 257 additions & 330 deletions ft-20180713/src/Ft.php

Large diffs are not rendered by default.

73 changes: 31 additions & 42 deletions ft-20180713/src/Models/BatchAuditTest01Request.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\Ft\V20180713\Models;

use AlibabaCloud\Tea\Model;

class BatchAuditTest01Request extends Model
{
/**
* @var string
*/
public $batchAuditTest01;

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

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

/**
* @var bool
*/
public $test010101;
class BatchAuditTest01Request extends Model {
protected $_name = [
'batchAuditTest01' => 'BatchAuditTest01',
'demo01' => 'Demo01',
'name' => 'Name',
'test010101' => 'Test010101',
'demo01' => 'Demo01',
'name' => 'Name',
'test010101' => 'Test010101',
];

public function validate()
{
}

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

return $res;
}

/**
* @param array $map
*
* @return BatchAuditTest01Request
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['BatchAuditTest01'])) {
if(isset($map['BatchAuditTest01'])){
$model->batchAuditTest01 = $map['BatchAuditTest01'];
}
if (isset($map['Demo01'])) {
if(isset($map['Demo01'])){
$model->demo01 = $map['Demo01'];
}
if (isset($map['Name'])) {
if(isset($map['Name'])){
$model->name = $map['Name'];
}
if (isset($map['Test010101'])) {
if(isset($map['Test010101'])){
$model->test010101 = $map['Test010101'];
}

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

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

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

/**
* @var bool
*/
public $test010101;

}
58 changes: 25 additions & 33 deletions ft-20180713/src/Models/BatchAuditTest01Response.php
Original file line number Diff line number Diff line change
@@ -1,42 +1,24 @@
<?php

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

namespace AlibabaCloud\SDK\Ft\V20180713\Models;

use AlibabaCloud\Tea\Model;

class BatchAuditTest01Response extends Model
{
/**
* @var string[]
*/
public $headers;
use AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody;

/**
* @var int
*/
public $statusCode;

/**
* @var BatchAuditTest01ResponseBody
*/
public $body;
class BatchAuditTest01Response extends Model {
protected $_name = [
'headers' => 'headers',
'headers' => 'headers',
'statusCode' => 'statusCode',
'body' => 'body',
'body' => 'body',
];

public function validate()
{
public function validate() {
Model::validateRequired('headers', $this->headers, true);
Model::validateRequired('statusCode', $this->statusCode, true);
Model::validateRequired('body', $this->body, true);
}

public function toMap()
{
public function toMap() {
$res = [];
if (null !== $this->headers) {
$res['headers'] = $this->headers;
Expand All @@ -47,28 +29,38 @@ public function toMap()
if (null !== $this->body) {
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
}

return $res;
}

/**
* @param array $map
*
* @return BatchAuditTest01Response
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['headers'])) {
if(isset($map['headers'])){
$model->headers = $map['headers'];
}
if (isset($map['statusCode'])) {
if(isset($map['statusCode'])){
$model->statusCode = $map['statusCode'];
}
if (isset($map['body'])) {
if(isset($map['body'])){
$model->body = BatchAuditTest01ResponseBody::fromMap($map['body']);
}

return $model;
}
/**
* @var string[]
*/
public $headers;

/**
* @var int
*/
public $statusCode;

/**
* @var BatchAuditTest01ResponseBody
*/
public $body;

}
60 changes: 25 additions & 35 deletions ft-20180713/src/Models/BatchAuditTest01ResponseBody.php
Original file line number Diff line number Diff line change
@@ -1,40 +1,20 @@
<?php

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

namespace AlibabaCloud\SDK\Ft\V20180713\Models;

use AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody\demo01;
use AlibabaCloud\Tea\Model;

class BatchAuditTest01ResponseBody extends Model
{
/**
* @var demo01
*/
public $demo01;

/**
* @var string
*/
public $name;
use AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody\demo01;

/**
* @var string
*/
public $requestId;
class BatchAuditTest01ResponseBody extends Model {
protected $_name = [
'demo01' => 'Demo01',
'name' => 'Name',
'demo01' => 'Demo01',
'name' => 'Name',
'requestId' => 'RequestId',
];

public function validate()
{
}

public function toMap()
{
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->demo01) {
$res['Demo01'] = null !== $this->demo01 ? $this->demo01->toMap() : null;
Expand All @@ -45,28 +25,38 @@ public function toMap()
if (null !== $this->requestId) {
$res['RequestId'] = $this->requestId;
}

return $res;
}

/**
* @param array $map
*
* @return BatchAuditTest01ResponseBody
*/
public static function fromMap($map = [])
{
public static function fromMap($map = []) {
$model = new self();
if (isset($map['Demo01'])) {
if(isset($map['Demo01'])){
$model->demo01 = demo01::fromMap($map['Demo01']);
}
if (isset($map['Name'])) {
if(isset($map['Name'])){
$model->name = $map['Name'];
}
if (isset($map['RequestId'])) {
if(isset($map['RequestId'])){
$model->requestId = $map['RequestId'];
}

return $model;
}
/**
* @var demo01
*/
public $demo01;

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

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

}
34 changes: 12 additions & 22 deletions ft-20180713/src/Models/BatchAuditTest01ResponseBody/demo01.php
Original file line number Diff line number Diff line change
@@ -1,48 +1,38 @@
<?php

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

namespace AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody;

use AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody\demo01\demo011;
use AlibabaCloud\Tea\Model;

class demo01 extends Model
{
/**
* @var demo011
*/
public $demo011;
use AlibabaCloud\SDK\Ft\V20180713\Models\BatchAuditTest01ResponseBody\demo01\demo011;

class demo01 extends Model {
protected $_name = [
'demo011' => 'Demo011',
];

public function validate()
{
}

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

return $res;
}

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

return $model;
}
/**
* @var demo011
*/
public $demo011;

}
Loading