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 \V20180916 ;
21
+ use Aliyun \Core \RpcAcsRequest ;
22
+ class DetectFaceAttributesRequest extends RpcAcsRequest
23
+ {
24
+ function __construct ()
25
+ {
26
+ parent ::__construct ("Cloudauth " , "2018-09-16 " , "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
+ }
54
+
55
+ public function getMaxFaceNum () {
56
+ return $ this ->maxFaceNum ;
57
+ }
58
+
59
+ public function setMaxFaceNum ($ maxFaceNum ) {
60
+ $ this ->maxFaceNum = $ maxFaceNum ;
61
+ }
62
+
63
+ public function getResourceOwnerId () {
64
+ return $ this ->resourceOwnerId ;
65
+ }
66
+
67
+ public function setResourceOwnerId ($ resourceOwnerId ) {
68
+ $ this ->resourceOwnerId = $ resourceOwnerId ;
69
+ $ this ->queryParameters ["ResourceOwnerId " ]=$ resourceOwnerId ;
70
+ }
71
+
72
+ public function getSourceIp () {
73
+ return $ this ->sourceIp ;
74
+ }
75
+
76
+ public function setSourceIp ($ sourceIp ) {
77
+ $ this ->sourceIp = $ sourceIp ;
78
+ $ this ->queryParameters ["SourceIp " ]=$ sourceIp ;
79
+ }
80
+
81
+ public function getRetAttributes () {
82
+ return $ this ->retAttributes ;
83
+ }
84
+
85
+ public function setRetAttributes ($ retAttributes ) {
86
+ $ this ->retAttributes = $ retAttributes ;
87
+ }
88
+
89
+ public function getMaterialValue () {
90
+ return $ this ->materialValue ;
91
+ }
92
+
93
+ public function setMaterialValue ($ materialValue ) {
94
+ $ this ->materialValue = $ materialValue ;
95
+ }
96
+
97
+ public function getDontSaveDB () {
98
+ return $ this ->dontSaveDB ;
99
+ }
100
+
101
+ public function setDontSaveDB ($ dontSaveDB ) {
102
+ $ this ->dontSaveDB = $ dontSaveDB ;
103
+ }
104
+
105
+ public function getClientTag () {
106
+ return $ this ->clientTag ;
107
+ }
108
+
109
+ public function setClientTag ($ clientTag ) {
110
+ $ this ->clientTag = $ clientTag ;
111
+ }
112
+
113
+ }
0 commit comments