QueryAgentJobs   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 getRequestMethod() 0 3 1
A getRequestPath() 0 3 1
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
}