Skip to content

Commit fd2ab36

Browse files
committed
Generated 2015-01-01 for R-kvstore
1 parent 982d22c commit fd2ab36

File tree

126 files changed

+4983
-2468
lines changed

Some content is hidden

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

126 files changed

+4983
-2468
lines changed

aliyun-php-sdk-r-kvstore/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-28 Version: 3.0.0
2+
- Generated 2015-01-01 for `R-kvstore`
3+
14
2019-04-18 Version: 2.0.7
25
1, CreateCacheAnalysisTask prop modify
36

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?php
2+
3+
namespace R_kvstore\Request\V20150101;
4+
5+
/**
6+
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
7+
*
8+
* Request of ActivateInstance
9+
*
10+
* @method string getResourceOwnerId()
11+
* @method string getSecurityToken()
12+
* @method string getResourceOwnerAccount()
13+
* @method string getOwnerAccount()
14+
* @method string getOwnerId()
15+
* @method string getInstanceId()
16+
*/
17+
class ActivateInstanceRequest 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+
'R-kvstore',
32+
'2015-01-01',
33+
'ActivateInstance',
34+
'kvstore'
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 string $securityToken
53+
*
54+
* @return $this
55+
*/
56+
public function setSecurityToken($securityToken)
57+
{
58+
$this->requestParameters['SecurityToken'] = $securityToken;
59+
$this->queryParameters['SecurityToken'] = $securityToken;
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 $instanceId
105+
*
106+
* @return $this
107+
*/
108+
public function setInstanceId($instanceId)
109+
{
110+
$this->requestParameters['InstanceId'] = $instanceId;
111+
$this->queryParameters['InstanceId'] = $instanceId;
112+
113+
return $this;
114+
}
115+
}

aliyun-php-sdk-r-kvstore/R_kvstore/Request/V20150101/AllocateInstancePublicConnectionRequest.php

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
*
1010
* @method string getResourceOwnerId()
1111
* @method string getConnectionStringPrefix()
12-
* @method string getInstanceId()
1312
* @method string getSecurityToken()
1413
* @method string getResourceOwnerAccount()
15-
* @method string getPort()
1614
* @method string getOwnerAccount()
1715
* @method string getOwnerId()
16+
* @method string getInstanceId()
17+
* @method string getPort()
1818
*/
1919
class AllocateInstancePublicConnectionRequest extends \RpcAcsRequest
2020
{
@@ -33,7 +33,7 @@ public function __construct()
3333
'R-kvstore',
3434
'2015-01-01',
3535
'AllocateInstancePublicConnection',
36-
'redisa'
36+
'kvstore'
3737
);
3838
}
3939

@@ -64,79 +64,79 @@ public function setConnectionStringPrefix($connectionStringPrefix)
6464
}
6565

6666
/**
67-
* @param string $instanceId
67+
* @param string $securityToken
6868
*
6969
* @return $this
7070
*/
71-
public function setInstanceId($instanceId)
71+
public function setSecurityToken($securityToken)
7272
{
73-
$this->requestParameters['InstanceId'] = $instanceId;
74-
$this->queryParameters['InstanceId'] = $instanceId;
73+
$this->requestParameters['SecurityToken'] = $securityToken;
74+
$this->queryParameters['SecurityToken'] = $securityToken;
7575

7676
return $this;
7777
}
7878

7979
/**
80-
* @param string $securityToken
80+
* @param string $resourceOwnerAccount
8181
*
8282
* @return $this
8383
*/
84-
public function setSecurityToken($securityToken)
84+
public function setResourceOwnerAccount($resourceOwnerAccount)
8585
{
86-
$this->requestParameters['SecurityToken'] = $securityToken;
87-
$this->queryParameters['SecurityToken'] = $securityToken;
86+
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
87+
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
8888

8989
return $this;
9090
}
9191

9292
/**
93-
* @param string $resourceOwnerAccount
93+
* @param string $ownerAccount
9494
*
9595
* @return $this
9696
*/
97-
public function setResourceOwnerAccount($resourceOwnerAccount)
97+
public function setOwnerAccount($ownerAccount)
9898
{
99-
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
100-
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
99+
$this->requestParameters['OwnerAccount'] = $ownerAccount;
100+
$this->queryParameters['OwnerAccount'] = $ownerAccount;
101101

102102
return $this;
103103
}
104104

105105
/**
106-
* @param string $port
106+
* @param string $ownerId
107107
*
108108
* @return $this
109109
*/
110-
public function setPort($port)
110+
public function setOwnerId($ownerId)
111111
{
112-
$this->requestParameters['Port'] = $port;
113-
$this->queryParameters['Port'] = $port;
112+
$this->requestParameters['OwnerId'] = $ownerId;
113+
$this->queryParameters['OwnerId'] = $ownerId;
114114

115115
return $this;
116116
}
117117

118118
/**
119-
* @param string $ownerAccount
119+
* @param string $instanceId
120120
*
121121
* @return $this
122122
*/
123-
public function setOwnerAccount($ownerAccount)
123+
public function setInstanceId($instanceId)
124124
{
125-
$this->requestParameters['OwnerAccount'] = $ownerAccount;
126-
$this->queryParameters['OwnerAccount'] = $ownerAccount;
125+
$this->requestParameters['InstanceId'] = $instanceId;
126+
$this->queryParameters['InstanceId'] = $instanceId;
127127

128128
return $this;
129129
}
130130

131131
/**
132-
* @param string $ownerId
132+
* @param string $port
133133
*
134134
* @return $this
135135
*/
136-
public function setOwnerId($ownerId)
136+
public function setPort($port)
137137
{
138-
$this->requestParameters['OwnerId'] = $ownerId;
139-
$this->queryParameters['OwnerId'] = $ownerId;
138+
$this->requestParameters['Port'] = $port;
139+
$this->queryParameters['Port'] = $port;
140140

141141
return $this;
142142
}

0 commit comments

Comments
 (0)