Skip to content

Commit 7209257

Browse files
committed
Generated 2014-05-26 for Ecs
1 parent d7d69cc commit 7209257

File tree

269 files changed

+19564
-4353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+19564
-4353
lines changed

aliyun-php-sdk-ecs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-14 Version: 1.20.1
2+
- Generated 2014-05-26 for `Ecs`
3+
14
2019-04-18 Version: 4.16.7
25
1, add ReservedInstance API.
36

aliyun-php-sdk-ecs/Ecs/Request/V20140526/AddBandwidthPackageIpsRequest.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* Request of AddBandwidthPackageIps
99
*
1010
* @method string getResourceOwnerId()
11+
* @method string getClientToken()
1112
* @method string getBandwidthPackageId()
1213
* @method string getResourceOwnerAccount()
13-
* @method string getClientToken()
1414
* @method string getOwnerAccount()
1515
* @method string getOwnerId()
1616
* @method string getIpCount()
@@ -50,40 +50,40 @@ public function setResourceOwnerId($resourceOwnerId)
5050
}
5151

5252
/**
53-
* @param string $bandwidthPackageId
53+
* @param string $clientToken
5454
*
5555
* @return $this
5656
*/
57-
public function setBandwidthPackageId($bandwidthPackageId)
57+
public function setClientToken($clientToken)
5858
{
59-
$this->requestParameters['BandwidthPackageId'] = $bandwidthPackageId;
60-
$this->queryParameters['BandwidthPackageId'] = $bandwidthPackageId;
59+
$this->requestParameters['ClientToken'] = $clientToken;
60+
$this->queryParameters['ClientToken'] = $clientToken;
6161

6262
return $this;
6363
}
6464

6565
/**
66-
* @param string $resourceOwnerAccount
66+
* @param string $bandwidthPackageId
6767
*
6868
* @return $this
6969
*/
70-
public function setResourceOwnerAccount($resourceOwnerAccount)
70+
public function setBandwidthPackageId($bandwidthPackageId)
7171
{
72-
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
73-
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
72+
$this->requestParameters['BandwidthPackageId'] = $bandwidthPackageId;
73+
$this->queryParameters['BandwidthPackageId'] = $bandwidthPackageId;
7474

7575
return $this;
7676
}
7777

7878
/**
79-
* @param string $clientToken
79+
* @param string $resourceOwnerAccount
8080
*
8181
* @return $this
8282
*/
83-
public function setClientToken($clientToken)
83+
public function setResourceOwnerAccount($resourceOwnerAccount)
8484
{
85-
$this->requestParameters['ClientToken'] = $clientToken;
86-
$this->queryParameters['ClientToken'] = $clientToken;
85+
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
86+
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
8787

8888
return $this;
8989
}
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?php
2+
3+
namespace Ecs\Request\V20140526;
4+
5+
/**
6+
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
7+
*
8+
* Request of AddIpRange
9+
*
10+
* @method string getIpAddress()
11+
* @method string getResourceOwnerId()
12+
* @method string getResourceOwnerAccount()
13+
* @method string getOwnerAccount()
14+
* @method string getOwnerId()
15+
* @method string getZoneId()
16+
*/
17+
class AddIpRangeRequest extends \RpcAcsRequest
18+
{
19+
20+
/**
21+
* @var string
22+
*/
23+
protected $method = 'POST';
24+
25+
/**
26+
* Class constructor.
27+
*/
28+
public function __construct()
29+
{
30+
parent::__construct(
31+
'Ecs',
32+
'2014-05-26',
33+
'AddIpRange',
34+
'ecs'
35+
);
36+
}
37+
38+
/**
39+
* @param string $ipAddress
40+
*
41+
* @return $this
42+
*/
43+
public function setIpAddress($ipAddress)
44+
{
45+
$this->requestParameters['IpAddress'] = $ipAddress;
46+
$this->queryParameters['IpAddress'] = $ipAddress;
47+
48+
return $this;
49+
}
50+
51+
/**
52+
* @param string $resourceOwnerId
53+
*
54+
* @return $this
55+
*/
56+
public function setResourceOwnerId($resourceOwnerId)
57+
{
58+
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
59+
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
60+
61+
return $this;
62+
}
63+
64+
/**
65+
* @param string $resourceOwnerAccount
66+
*
67+
* @return $this
68+
*/
69+
public function setResourceOwnerAccount($resourceOwnerAccount)
70+
{
71+
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
72+
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
73+
74+
return $this;
75+
}
76+
77+
/**
78+
* @param string $ownerAccount
79+
*
80+
* @return $this
81+
*/
82+
public function setOwnerAccount($ownerAccount)
83+
{
84+
$this->requestParameters['OwnerAccount'] = $ownerAccount;
85+
$this->queryParameters['OwnerAccount'] = $ownerAccount;
86+
87+
return $this;
88+
}
89+
90+
/**
91+
* @param string $ownerId
92+
*
93+
* @return $this
94+
*/
95+
public function setOwnerId($ownerId)
96+
{
97+
$this->requestParameters['OwnerId'] = $ownerId;
98+
$this->queryParameters['OwnerId'] = $ownerId;
99+
100+
return $this;
101+
}
102+
103+
/**
104+
* @param string $zoneId
105+
*
106+
* @return $this
107+
*/
108+
public function setZoneId($zoneId)
109+
{
110+
$this->requestParameters['ZoneId'] = $zoneId;
111+
$this->queryParameters['ZoneId'] = $zoneId;
112+
113+
return $this;
114+
}
115+
}

aliyun-php-sdk-ecs/Ecs/Request/V20140526/AddTagsRequest.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* Request of AddTags
99
*
1010
* @method string getResourceOwnerId()
11+
* @method array getTags()
1112
* @method string getResourceId()
1213
* @method string getResourceOwnerAccount()
13-
* @method array getTags()
1414
* @method string getOwnerId()
1515
* @method string getResourceType()
1616
*/
@@ -49,43 +49,43 @@ public function setResourceOwnerId($resourceOwnerId)
4949
}
5050

5151
/**
52-
* @param string $resourceId
52+
* @param array $tag
5353
*
5454
* @return $this
5555
*/
56-
public function setResourceId($resourceId)
56+
public function setTags(array $tag)
5757
{
58-
$this->requestParameters['ResourceId'] = $resourceId;
59-
$this->queryParameters['ResourceId'] = $resourceId;
58+
$this->requestParameters['Tags'] = $tag;
59+
foreach ($tag as $depth1 => $depth1Value) {
60+
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
61+
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
62+
}
6063

6164
return $this;
6265
}
6366

6467
/**
65-
* @param string $resourceOwnerAccount
68+
* @param string $resourceId
6669
*
6770
* @return $this
6871
*/
69-
public function setResourceOwnerAccount($resourceOwnerAccount)
72+
public function setResourceId($resourceId)
7073
{
71-
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
72-
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
74+
$this->requestParameters['ResourceId'] = $resourceId;
75+
$this->queryParameters['ResourceId'] = $resourceId;
7376

7477
return $this;
7578
}
7679

7780
/**
78-
* @param array $tag
81+
* @param string $resourceOwnerAccount
7982
*
8083
* @return $this
8184
*/
82-
public function setTags(array $tag)
85+
public function setResourceOwnerAccount($resourceOwnerAccount)
8386
{
84-
$this->requestParameters['Tags'] = $tag;
85-
foreach ($tag as $depth1 => $depth1Value) {
86-
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
87-
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
88-
}
87+
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
88+
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
8989

9090
return $this;
9191
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?php
2+
3+
namespace Ecs\Request\V20140526;
4+
5+
/**
6+
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
7+
*
8+
* Request of AddTags_GatedLaunch
9+
*
10+
* @method string getResourceOwnerId()
11+
* @method array getTags()
12+
* @method string getResourceId()
13+
* @method string getResourceOwnerAccount()
14+
* @method string getOwnerId()
15+
* @method string getResourceType()
16+
*/
17+
class AddTags_GatedLaunchRequest extends \RpcAcsRequest
18+
{
19+
20+
/**
21+
* @var string
22+
*/
23+
protected $method = 'POST';
24+
25+
/**
26+
* Class constructor.
27+
*/
28+
public function __construct()
29+
{
30+
parent::__construct(
31+
'Ecs',
32+
'2014-05-26',
33+
'AddTags_GatedLaunch',
34+
'ecs'
35+
);
36+
}
37+
38+
/**
39+
* @param string $resourceOwnerId
40+
*
41+
* @return $this
42+
*/
43+
public function setResourceOwnerId($resourceOwnerId)
44+
{
45+
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
46+
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
47+
48+
return $this;
49+
}
50+
51+
/**
52+
* @param array $tag
53+
*
54+
* @return $this
55+
*/
56+
public function setTags(array $tag)
57+
{
58+
$this->requestParameters['Tags'] = $tag;
59+
foreach ($tag as $depth1 => $depth1Value) {
60+
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
61+
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
62+
}
63+
64+
return $this;
65+
}
66+
67+
/**
68+
* @param string $resourceId
69+
*
70+
* @return $this
71+
*/
72+
public function setResourceId($resourceId)
73+
{
74+
$this->requestParameters['ResourceId'] = $resourceId;
75+
$this->queryParameters['ResourceId'] = $resourceId;
76+
77+
return $this;
78+
}
79+
80+
/**
81+
* @param string $resourceOwnerAccount
82+
*
83+
* @return $this
84+
*/
85+
public function setResourceOwnerAccount($resourceOwnerAccount)
86+
{
87+
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
88+
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
89+
90+
return $this;
91+
}
92+
93+
/**
94+
* @param string $ownerId
95+
*
96+
* @return $this
97+
*/
98+
public function setOwnerId($ownerId)
99+
{
100+
$this->requestParameters['OwnerId'] = $ownerId;
101+
$this->queryParameters['OwnerId'] = $ownerId;
102+
103+
return $this;
104+
}
105+
106+
/**
107+
* @param string $resourceType
108+
*
109+
* @return $this
110+
*/
111+
public function setResourceType($resourceType)
112+
{
113+
$this->requestParameters['ResourceType'] = $resourceType;
114+
$this->queryParameters['ResourceType'] = $resourceType;
115+
116+
return $this;
117+
}
118+
}

0 commit comments

Comments
 (0)