-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
506 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Dts\V20200101\Models; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class DescribeSyncStatusRequest extends Model | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $direction; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $dtsInstanceId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $dtsJobId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $regionId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $resourceGroupId; | ||
protected $_name = [ | ||
'direction' => 'Direction', | ||
'dtsInstanceId' => 'DtsInstanceId', | ||
'dtsJobId' => 'DtsJobId', | ||
'regionId' => 'RegionId', | ||
'resourceGroupId' => 'ResourceGroupId', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->direction) { | ||
$res['Direction'] = $this->direction; | ||
} | ||
if (null !== $this->dtsInstanceId) { | ||
$res['DtsInstanceId'] = $this->dtsInstanceId; | ||
} | ||
if (null !== $this->dtsJobId) { | ||
$res['DtsJobId'] = $this->dtsJobId; | ||
} | ||
if (null !== $this->regionId) { | ||
$res['RegionId'] = $this->regionId; | ||
} | ||
if (null !== $this->resourceGroupId) { | ||
$res['ResourceGroupId'] = $this->resourceGroupId; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return DescribeSyncStatusRequest | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['Direction'])) { | ||
$model->direction = $map['Direction']; | ||
} | ||
if (isset($map['DtsInstanceId'])) { | ||
$model->dtsInstanceId = $map['DtsInstanceId']; | ||
} | ||
if (isset($map['DtsJobId'])) { | ||
$model->dtsJobId = $map['DtsJobId']; | ||
} | ||
if (isset($map['RegionId'])) { | ||
$model->regionId = $map['RegionId']; | ||
} | ||
if (isset($map['ResourceGroupId'])) { | ||
$model->resourceGroupId = $map['ResourceGroupId']; | ||
} | ||
|
||
return $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Dts\V20200101\Models; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class DescribeSyncStatusResponse extends Model | ||
{ | ||
/** | ||
* @var string[] | ||
*/ | ||
public $headers; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $statusCode; | ||
|
||
/** | ||
* @var DescribeSyncStatusResponseBody | ||
*/ | ||
public $body; | ||
protected $_name = [ | ||
'headers' => 'headers', | ||
'statusCode' => 'statusCode', | ||
'body' => 'body', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->headers) { | ||
$res['headers'] = $this->headers; | ||
} | ||
if (null !== $this->statusCode) { | ||
$res['statusCode'] = $this->statusCode; | ||
} | ||
if (null !== $this->body) { | ||
$res['body'] = null !== $this->body ? $this->body->toMap() : null; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return DescribeSyncStatusResponse | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['headers'])) { | ||
$model->headers = $map['headers']; | ||
} | ||
if (isset($map['statusCode'])) { | ||
$model->statusCode = $map['statusCode']; | ||
} | ||
if (isset($map['body'])) { | ||
$model->body = DescribeSyncStatusResponseBody::fromMap($map['body']); | ||
} | ||
|
||
return $model; | ||
} | ||
} |
Oops, something went wrong.