QueryAgentJobs::getRequestMethod()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
4
namespace MuCTS\Sobot\Tickets;
5
6
7
use MuCTS\Sobot\Contracts\Sobot;
8
9
/**
10
 * Class QueryAgentJobs
11
 * 查询工单坐席工作量
12
 *
13
 * 接口说明:
14
 * 获取某个时间段工单坐席工作量。
15
 *
16
 * @method QueryAgentJobs whereStartDatetime(string $startDatetime) 开始时间,2019-09-18 00:00:00
17
 * @method QueryAgentJobs whereEndDatetime(string $endDatetime) 结束时间,2019-09-18 23:59:59
18
 * @package MuCTS\Sobot\Tickets
19
 */
20
class QueryAgentJobs extends Sobot
21
{
22
23
    public function getRequestMethod(): string
24
    {
25
        return self::METHOD_GET;
26
    }
27
28
    public function getRequestPath(): string
29
    {
30
        return '/api/ws/5/ticket/query_agent_jobs';
31
    }
32
}