GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( caa9ef...32cd9f )
by
unknown
11:33 queued 04:58
created

QueryDomainTransferStatus::withDomainName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Domain\V20180208;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AcceptDemand acceptDemand(array $options = [])
9
 * @method BidDomain bidDomain(array $options = [])
10
 * @method ChangeAuction changeAuction(array $options = [])
11
 * @method FailDemand failDemand(array $options = [])
12
 * @method FinishDemand finishDemand(array $options = [])
13
 * @method GetReserveDomainUrl getReserveDomainUrl(array $options = [])
14
 * @method QueryAuctionDetail queryAuctionDetail(array $options = [])
15
 * @method QueryAuctions queryAuctions(array $options = [])
16
 * @method QueryBidRecords queryBidRecords(array $options = [])
17
 * @method QueryBookingDomainInfo queryBookingDomainInfo(array $options = [])
18
 * @method QueryBrokerDemand queryBrokerDemand(array $options = [])
19
 * @method QueryBrokerDemandRecord queryBrokerDemandRecord(array $options = [])
20
 * @method QueryDomainTransferStatus queryDomainTransferStatus(array $options = [])
21
 * @method RecordDemand recordDemand(array $options = [])
22
 * @method RefuseDemand refuseDemand(array $options = [])
23
 * @method RequestPayDemand requestPayDemand(array $options = [])
24
 * @method ReserveDomain reserveDomain(array $options = [])
25
 */
26
class DomainApiResolver extends ApiResolver
27
{
28
}
29
30
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
31
{
32
    /** @var string */
33
    public $product = 'Domain';
34
35
    /** @var string */
36
    public $version = '2018-02-08';
37
38
    /** @var string */
39
    public $method = 'POST';
40
41
    /** @var string */
42
    public $serviceCode = 'domain';
43
}
44
45
/**
46
 * @method string getBizId()
47
 * @method $this withBizId($value)
48
 * @method string getMessage()
49
 * @method $this withMessage($value)
50
 */
51
class AcceptDemand extends Rpc
52
{
53
}
54
55
/**
56
 * @method string getAuctionId()
57
 * @method string getMaxBid()
58
 * @method string getCurrency()
59
 */
60
class BidDomain extends Rpc
61
{
62
63
    /**
64
     * @param string $value
65
     *
66
     * @return $this
67
     */
68
    public function withAuctionId($value)
69
    {
70
        $this->data['AuctionId'] = $value;
71
        $this->options['form_params']['AuctionId'] = $value;
72
73
        return $this;
74
    }
75
76
    /**
77
     * @param string $value
78
     *
79
     * @return $this
80
     */
81
    public function withMaxBid($value)
82
    {
83
        $this->data['MaxBid'] = $value;
84
        $this->options['form_params']['MaxBid'] = $value;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withCurrency($value)
95
    {
96
        $this->data['Currency'] = $value;
97
        $this->options['form_params']['Currency'] = $value;
98
99
        return $this;
100
    }
101
}
102
103
/**
104
 * @method array getAuctionList()
105
 */
106
class ChangeAuction extends Rpc
107
{
108
109
    /**
110
     * @param array $auctionList
111
     *
112
     * @return $this
113
     */
114
	public function withAuctionList(array $auctionList)
115
	{
116
	    $this->data['AuctionList'] = $auctionList;
117
		foreach ($auctionList as $depth1 => $depth1Value) {
118
			if(isset($depth1Value['Winner'])){
119
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.Winner'] = $depth1Value['Winner'];
120
			}
121
			if(isset($depth1Value['ReserveRange'])){
122
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.ReserveRange'] = $depth1Value['ReserveRange'];
123
			}
124
			if(isset($depth1Value['DomainName'])){
125
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.DomainName'] = $depth1Value['DomainName'];
126
			}
127
			if(isset($depth1Value['EndTime'])){
128
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.EndTime'] = $depth1Value['EndTime'];
129
			}
130
			if(isset($depth1Value['TimeLeft'])){
131
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.TimeLeft'] = $depth1Value['TimeLeft'];
132
			}
133
			if(isset($depth1Value['IsReserve'])){
134
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.IsReserve'] = $depth1Value['IsReserve'];
135
			}
136
			foreach ($depth1Value['BidRecords'] as $depth2 => $depth2Value) {
137
				if(isset($depth2Value['CreateTime'])){
138
					$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.BidRecords.' . ($depth2 + 1) . '.CreateTime'] = $depth2Value['CreateTime'];
139
				}
140
				if(isset($depth2Value['Price'])){
141
					$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.BidRecords.' . ($depth2 + 1) . '.Price'] = $depth2Value['Price'];
142
				}
143
				if(isset($depth2Value['UserId'])){
144
					$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.BidRecords.' . ($depth2 + 1) . '.UserId'] = $depth2Value['UserId'];
145
				}
146
			}
147
			if(isset($depth1Value['WinnerPrice'])){
148
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.WinnerPrice'] = $depth1Value['WinnerPrice'];
149
			}
150
			if(isset($depth1Value['Status'])){
151
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.Status'] = $depth1Value['Status'];
152
			}
153
			if(isset($depth1Value['ReservePrice'])){
154
				$this->options['form_params']['AuctionList.' . ($depth1 + 1) . '.ReservePrice'] = $depth1Value['ReservePrice'];
155
			}
156
		}
157
158
		return $this;
159
    }
160
}
161
162
/**
163
 * @method string getBizId()
164
 * @method $this withBizId($value)
165
 * @method string getMessage()
166
 * @method $this withMessage($value)
167
 */
168
class FailDemand extends Rpc
169
{
170
}
171
172
/**
173
 * @method string getBizId()
174
 * @method $this withBizId($value)
175
 * @method string getMessage()
176
 * @method $this withMessage($value)
177
 */
178
class FinishDemand extends Rpc
179
{
180
}
181
182
class GetReserveDomainUrl extends Rpc
183
{
184
}
185
186
/**
187
 * @method string getAuctionId()
188
 */
189
class QueryAuctionDetail extends Rpc
190
{
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withAuctionId($value)
198
    {
199
        $this->data['AuctionId'] = $value;
200
        $this->options['form_params']['AuctionId'] = $value;
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getPageSize()
208
 * @method string getCurrentPage()
209
 * @method string getStatus()
210
 */
211
class QueryAuctions extends Rpc
212
{
213
214
    /**
215
     * @param string $value
216
     *
217
     * @return $this
218
     */
219
    public function withPageSize($value)
220
    {
221
        $this->data['PageSize'] = $value;
222
        $this->options['form_params']['PageSize'] = $value;
223
224
        return $this;
225
    }
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withCurrentPage($value)
233
    {
234
        $this->data['CurrentPage'] = $value;
235
        $this->options['form_params']['CurrentPage'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withStatus($value)
246
    {
247
        $this->data['Status'] = $value;
248
        $this->options['form_params']['Status'] = $value;
249
250
        return $this;
251
    }
252
}
253
254
/**
255
 * @method string getAuctionId()
256
 * @method string getPageSize()
257
 * @method string getCurrentPage()
258
 */
259
class QueryBidRecords extends Rpc
260
{
261
262
    /**
263
     * @param string $value
264
     *
265
     * @return $this
266
     */
267
    public function withAuctionId($value)
268
    {
269
        $this->data['AuctionId'] = $value;
270
        $this->options['form_params']['AuctionId'] = $value;
271
272
        return $this;
273
    }
274
275
    /**
276
     * @param string $value
277
     *
278
     * @return $this
279
     */
280
    public function withPageSize($value)
281
    {
282
        $this->data['PageSize'] = $value;
283
        $this->options['form_params']['PageSize'] = $value;
284
285
        return $this;
286
    }
287
288
    /**
289
     * @param string $value
290
     *
291
     * @return $this
292
     */
293
    public function withCurrentPage($value)
294
    {
295
        $this->data['CurrentPage'] = $value;
296
        $this->options['form_params']['CurrentPage'] = $value;
297
298
        return $this;
299
    }
300
}
301
302
/**
303
 * @method string getDomainName()
304
 */
305
class QueryBookingDomainInfo extends Rpc
306
{
307
308
    /**
309
     * @param string $value
310
     *
311
     * @return $this
312
     */
313
    public function withDomainName($value)
314
    {
315
        $this->data['DomainName'] = $value;
316
        $this->options['form_params']['DomainName'] = $value;
317
318
        return $this;
319
    }
320
}
321
322
/**
323
 * @method string getPageSize()
324
 * @method $this withPageSize($value)
325
 * @method string getBizId()
326
 * @method $this withBizId($value)
327
 * @method string getCurrentPage()
328
 * @method $this withCurrentPage($value)
329
 * @method string getStatus()
330
 * @method $this withStatus($value)
331
 */
332
class QueryBrokerDemand extends Rpc
333
{
334
}
335
336
/**
337
 * @method string getPageSize()
338
 * @method $this withPageSize($value)
339
 * @method string getBizId()
340
 * @method $this withBizId($value)
341
 * @method string getCurrentPage()
342
 * @method $this withCurrentPage($value)
343
 */
344
class QueryBrokerDemandRecord extends Rpc
345
{
346
}
347
348
/**
349
 * @method string getDomainName()
350
 */
351
class QueryDomainTransferStatus extends Rpc
352
{
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withDomainName($value)
360
    {
361
        $this->data['DomainName'] = $value;
362
        $this->options['form_params']['DomainName'] = $value;
363
364
        return $this;
365
    }
366
}
367
368
/**
369
 * @method string getBizId()
370
 * @method $this withBizId($value)
371
 * @method string getMessage()
372
 * @method $this withMessage($value)
373
 */
374
class RecordDemand extends Rpc
375
{
376
}
377
378
/**
379
 * @method string getBizId()
380
 * @method $this withBizId($value)
381
 * @method string getMessage()
382
 * @method $this withMessage($value)
383
 */
384
class RefuseDemand extends Rpc
385
{
386
}
387
388
/**
389
 * @method string getPrice()
390
 * @method $this withPrice($value)
391
 * @method string getBizId()
392
 * @method $this withBizId($value)
393
 * @method string getDomainName()
394
 * @method $this withDomainName($value)
395
 * @method string getProduceType()
396
 * @method $this withProduceType($value)
397
 * @method string getMessage()
398
 * @method $this withMessage($value)
399
 */
400
class RequestPayDemand extends Rpc
401
{
402
}
403
404
/**
405
 * @method array getChannels()
406
 * @method string getDomainName()
407
 */
408
class ReserveDomain extends Rpc
409
{
410
411
    /**
412
     * @param array $channels
413
     *
414
     * @return $this
415
     */
416
	public function withChannels(array $channels)
417
	{
418
	    $this->data['Channels'] = $channels;
419
		foreach ($channels as $i => $iValue) {
420
			$this->options['form_params']['Channels.' . ($i + 1)] = $iValue;
421
		}
422
423
		return $this;
424
    }
425
426
    /**
427
     * @param string $value
428
     *
429
     * @return $this
430
     */
431
    public function withDomainName($value)
432
    {
433
        $this->data['DomainName'] = $value;
434
        $this->options['form_params']['DomainName'] = $value;
435
436
        return $this;
437
    }
438
}
439