Skip to content

Commit 3baae19

Browse files
committed
add 0816
Signed-off-by: Jack <[email protected]>
1 parent 105de91 commit 3baae19

14 files changed

+1241
-539
lines changed

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"dongkaipo/aliyun-php-sdk-core": "dev-master"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^7.4@dev"
19+
"phpunit/phpunit": "^7.4@dev",
20+
"ext-openssl": "*",
21+
"dongkaipo/aliyun-php-sdk-core": "dev-master"
2022
},
2123
"autoload": {
2224
"psr-4": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?php
2+
/*
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing,
14+
* software distributed under the License is distributed on an
15+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
* KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations
18+
* under the License.
19+
*/
20+
namespace Cloudauth\Request\V20180807;
21+
use Aliyun\Core\RpcAcsRequest;
22+
class CompareFacesRequest extends RpcAcsRequest
23+
{
24+
function __construct()
25+
{
26+
parent::__construct("Cloudauth", "2018-08-07", "CompareFaces", "cloudauth", "openAPI");
27+
$this->setProtocol("https");
28+
$this->setMethod("POST");
29+
}
30+
31+
private $sourceImageType;
32+
33+
private $resourceOwnerId;
34+
35+
private $sourceIp;
36+
37+
private $targetImageType;
38+
39+
private $sourceImageValue;
40+
41+
private $targetImageValue;
42+
43+
public function getSourceImageType() {
44+
return $this->sourceImageType;
45+
}
46+
47+
public function setSourceImageType($sourceImageType) {
48+
$this->sourceImageType = $sourceImageType;
49+
$this->queryParameters["SourceImageType"]=$sourceImageType;
50+
}
51+
52+
public function getResourceOwnerId() {
53+
return $this->resourceOwnerId;
54+
}
55+
56+
public function setResourceOwnerId($resourceOwnerId) {
57+
$this->resourceOwnerId = $resourceOwnerId;
58+
$this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
59+
}
60+
61+
public function getSourceIp() {
62+
return $this->sourceIp;
63+
}
64+
65+
public function setSourceIp($sourceIp) {
66+
$this->sourceIp = $sourceIp;
67+
$this->queryParameters["SourceIp"]=$sourceIp;
68+
}
69+
70+
public function getTargetImageType() {
71+
return $this->targetImageType;
72+
}
73+
74+
public function setTargetImageType($targetImageType) {
75+
$this->targetImageType = $targetImageType;
76+
$this->queryParameters["TargetImageType"]=$targetImageType;
77+
}
78+
79+
public function getSourceImageValue() {
80+
return $this->sourceImageValue;
81+
}
82+
83+
public function setSourceImageValue($sourceImageValue) {
84+
$this->sourceImageValue = $sourceImageValue;
85+
$this->queryParameters["SourceImageValue"]=$sourceImageValue;
86+
}
87+
88+
public function getTargetImageValue() {
89+
return $this->targetImageValue;
90+
}
91+
92+
public function setTargetImageValue($targetImageValue) {
93+
$this->targetImageValue = $targetImageValue;
94+
$this->queryParameters["TargetImageValue"]=$targetImageValue;
95+
}
96+
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<?php
2+
/*
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing,
14+
* software distributed under the License is distributed on an
15+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
* KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations
18+
* under the License.
19+
*/
20+
namespace Cloudauth\Request\V20180807;
21+
use Aliyun\Core\RpcAcsRequest;
22+
class DetectFaceAttributesRequest extends RpcAcsRequest
23+
{
24+
function __construct()
25+
{
26+
parent::__construct("Cloudauth", "2018-08-07", "DetectFaceAttributes", "cloudauth", "openAPI");
27+
$this->setProtocol("https");
28+
$this->setMethod("POST");
29+
}
30+
31+
private $maxNumPhotosPerCategory;
32+
33+
private $maxFaceNum;
34+
35+
private $resourceOwnerId;
36+
37+
private $sourceIp;
38+
39+
private $retAttributes;
40+
41+
private $materialValue;
42+
43+
private $dontSaveDB;
44+
45+
private $clientTag;
46+
47+
public function getMaxNumPhotosPerCategory() {
48+
return $this->maxNumPhotosPerCategory;
49+
}
50+
51+
public function setMaxNumPhotosPerCategory($maxNumPhotosPerCategory) {
52+
$this->maxNumPhotosPerCategory = $maxNumPhotosPerCategory;
53+
$this->queryParameters["MaxNumPhotosPerCategory"]=$maxNumPhotosPerCategory;
54+
}
55+
56+
public function getMaxFaceNum() {
57+
return $this->maxFaceNum;
58+
}
59+
60+
public function setMaxFaceNum($maxFaceNum) {
61+
$this->maxFaceNum = $maxFaceNum;
62+
$this->queryParameters["MaxFaceNum"]=$maxFaceNum;
63+
}
64+
65+
public function getResourceOwnerId() {
66+
return $this->resourceOwnerId;
67+
}
68+
69+
public function setResourceOwnerId($resourceOwnerId) {
70+
$this->resourceOwnerId = $resourceOwnerId;
71+
$this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
72+
}
73+
74+
public function getSourceIp() {
75+
return $this->sourceIp;
76+
}
77+
78+
public function setSourceIp($sourceIp) {
79+
$this->sourceIp = $sourceIp;
80+
$this->queryParameters["SourceIp"]=$sourceIp;
81+
}
82+
83+
public function getRetAttributes() {
84+
return $this->retAttributes;
85+
}
86+
87+
public function setRetAttributes($retAttributes) {
88+
$this->retAttributes = $retAttributes;
89+
$this->queryParameters["RetAttributes"]=$retAttributes;
90+
}
91+
92+
public function getMaterialValue() {
93+
return $this->materialValue;
94+
}
95+
96+
public function setMaterialValue($materialValue) {
97+
$this->materialValue = $materialValue;
98+
$this->queryParameters["MaterialValue"]=$materialValue;
99+
}
100+
101+
public function getDontSaveDB() {
102+
return $this->dontSaveDB;
103+
}
104+
105+
public function setDontSaveDB($dontSaveDB) {
106+
$this->dontSaveDB = $dontSaveDB;
107+
$this->queryParameters["DontSaveDB"]=$dontSaveDB;
108+
}
109+
110+
public function getClientTag() {
111+
return $this->clientTag;
112+
}
113+
114+
public function setClientTag($clientTag) {
115+
$this->clientTag = $clientTag;
116+
$this->queryParameters["ClientTag"]=$clientTag;
117+
}
118+
119+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?php
2+
/*
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing,
14+
* software distributed under the License is distributed on an
15+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
* KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations
18+
* under the License.
19+
*/
20+
namespace Cloudauth\Request\V20180807;
21+
use Aliyun\Core\RpcAcsRequest;
22+
class GetMaterialsRequest extends RpcAcsRequest
23+
{
24+
function __construct()
25+
{
26+
parent::__construct("Cloudauth", "2018-08-07", "GetMaterials", "cloudauth", "openAPI");
27+
$this->setProtocol("https");
28+
$this->setMethod("POST");
29+
}
30+
31+
private $resourceOwnerId;
32+
33+
private $biz;
34+
35+
private $sourceIp;
36+
37+
private $ticketId;
38+
39+
public function getResourceOwnerId() {
40+
return $this->resourceOwnerId;
41+
}
42+
43+
public function setResourceOwnerId($resourceOwnerId) {
44+
$this->resourceOwnerId = $resourceOwnerId;
45+
$this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
46+
}
47+
48+
public function getBiz() {
49+
return $this->biz;
50+
}
51+
52+
public function setBiz($biz) {
53+
$this->biz = $biz;
54+
$this->queryParameters["Biz"]=$biz;
55+
}
56+
57+
public function getSourceIp() {
58+
return $this->sourceIp;
59+
}
60+
61+
public function setSourceIp($sourceIp) {
62+
$this->sourceIp = $sourceIp;
63+
$this->queryParameters["SourceIp"]=$sourceIp;
64+
}
65+
66+
public function getTicketId() {
67+
return $this->ticketId;
68+
}
69+
70+
public function setTicketId($ticketId) {
71+
$this->ticketId = $ticketId;
72+
$this->queryParameters["TicketId"]=$ticketId;
73+
}
74+
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?php
2+
/*
3+
* Licensed to the Apache Software Foundation (ASF) under one
4+
* or more contributor license agreements. See the NOTICE file
5+
* distributed with this work for additional information
6+
* regarding copyright ownership. The ASF licenses this file
7+
* to you under the Apache License, Version 2.0 (the
8+
* "License"); you may not use this file except in compliance
9+
* with the License. You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing,
14+
* software distributed under the License is distributed on an
15+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
* KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations
18+
* under the License.
19+
*/
20+
namespace Cloudauth\Request\V20180807;
21+
use Aliyun\Core\RpcAcsRequest;
22+
class GetStatusRequest extends RpcAcsRequest
23+
{
24+
function __construct()
25+
{
26+
parent::__construct("Cloudauth", "2018-08-07", "GetStatus", "cloudauth", "openAPI");
27+
$this->setProtocol("https");
28+
$this->setMethod("POST");
29+
}
30+
31+
private $resourceOwnerId;
32+
33+
private $biz;
34+
35+
private $sourceIp;
36+
37+
private $ticketId;
38+
39+
public function getResourceOwnerId() {
40+
return $this->resourceOwnerId;
41+
}
42+
43+
public function setResourceOwnerId($resourceOwnerId) {
44+
$this->resourceOwnerId = $resourceOwnerId;
45+
$this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
46+
}
47+
48+
public function getBiz() {
49+
return $this->biz;
50+
}
51+
52+
public function setBiz($biz) {
53+
$this->biz = $biz;
54+
$this->queryParameters["Biz"]=$biz;
55+
}
56+
57+
public function getSourceIp() {
58+
return $this->sourceIp;
59+
}
60+
61+
public function setSourceIp($sourceIp) {
62+
$this->sourceIp = $sourceIp;
63+
$this->queryParameters["SourceIp"]=$sourceIp;
64+
}
65+
66+
public function getTicketId() {
67+
return $this->ticketId;
68+
}
69+
70+
public function setTicketId($ticketId) {
71+
$this->ticketId = $ticketId;
72+
$this->queryParameters["TicketId"]=$ticketId;
73+
}
74+
75+
}

0 commit comments

Comments
 (0)