1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\OssAdmin\V20140326; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Rpc; |
6
|
|
|
|
7
|
|
|
class V20140326Rpc extends Rpc |
8
|
|
|
{ |
9
|
|
|
/** @var string */ |
10
|
|
|
public $product = 'OssAdmin'; |
11
|
|
|
|
12
|
|
|
/** @var string */ |
13
|
|
|
public $version = '2014-03-26'; |
14
|
|
|
|
15
|
|
|
/** @var string */ |
16
|
|
|
public $method = 'POST'; |
17
|
|
|
} |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @method string getResourceOwnerId() |
21
|
|
|
* @method $this withResourceOwnerId($value) |
22
|
|
|
* @method string getResourceOwnerAccount() |
23
|
|
|
* @method $this withResourceOwnerAccount($value) |
24
|
|
|
* @method string getOwnerAccount() |
25
|
|
|
* @method $this withOwnerAccount($value) |
26
|
|
|
* @method string getOwnerId() |
27
|
|
|
* @method $this withOwnerId($value) |
28
|
|
|
* @method string getRegion() |
29
|
|
|
*/ |
30
|
|
|
class RestartOss extends V20140326Rpc |
31
|
|
|
{ |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* @param string $value |
35
|
|
|
* |
36
|
|
|
* @return $this |
37
|
|
|
*/ |
38
|
|
|
public function withRegion($value) |
39
|
|
|
{ |
40
|
|
|
$this->data['Region'] = $value; |
41
|
|
|
$this->options['query']['region'] = $value; |
42
|
|
|
|
43
|
|
|
return $this; |
44
|
|
|
} |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @method string getResourceOwnerId() |
49
|
|
|
* @method $this withResourceOwnerId($value) |
50
|
|
|
* @method string getResourceOwnerAccount() |
51
|
|
|
* @method $this withResourceOwnerAccount($value) |
52
|
|
|
* @method string getOwnerAccount() |
53
|
|
|
* @method $this withOwnerAccount($value) |
54
|
|
|
* @method string getOwnerId() |
55
|
|
|
* @method $this withOwnerId($value) |
56
|
|
|
* @method string getRegion() |
57
|
|
|
*/ |
58
|
|
|
class StopOss extends V20140326Rpc |
59
|
|
|
{ |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @param string $value |
63
|
|
|
* |
64
|
|
|
* @return $this |
65
|
|
|
*/ |
66
|
|
|
public function withRegion($value) |
67
|
|
|
{ |
68
|
|
|
$this->data['Region'] = $value; |
69
|
|
|
$this->options['query']['region'] = $value; |
70
|
|
|
|
71
|
|
|
return $this; |
72
|
|
|
} |
73
|
|
|
} |
74
|
|
|
|