QueryTicketPushFailInfos   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 11
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getRequestPath() 0 3 1
A getRequestMethod() 0 3 1
1
<?php
2
/**
3
 * This file is part of the mucts.com.
4
 *
5
 * This source file is subject to the MIT license that is bundled
6
 * with this source code in the file LICENSE.
7
 *
8
 * @version 1.0
9
 * @author herry<[email protected]>
10
 * @copyright © 2020  MuCTS.com All Rights Reserved.
11
 */
12
13
namespace MuCTS\Sobot\Tickets;
14
15
16
use MuCTS\Sobot\Contracts\Sobot;
17
18
/**
19
 * Class QueryTicketPushFailInfos
20
 * 查询工单消息推送异常数据
21
 *
22
 * 接口说明:
23
 * 返回工单消息推送失败的数据
24
 *
25
 * @method QueryTicketPushFailInfos whereStartDatetime(string $startDatetime) 开始时间,2019-09-18 00:00:00
26
 * @method QueryTicketPushFailInfos whereEndDatetime(string $endDatetime) 结束时间,2019-09-18 23:59:59
27
 * @method QueryTicketPushFailInfos pageNo(int $pageNo)	 当前页数,默认第一页
28
 * @method QueryTicketPushFailInfos pageSize(int $pageSize) 当前页显示条数,默认每页显示15条,最大每页显示50条
29
 * @package MuCTS\Sobot\Tickets
30
 */
31
class QueryTicketPushFailInfos extends Sobot
32
{
33
34
    public function getRequestMethod(): string
35
    {
36
        return self::METHOD_GET;
37
    }
38
39
    public function getRequestPath(): string
40
    {
41
        return '/api/ws/5/ticket/query_ticket_push_fail_infos';
42
    }
43
}