Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
pooldefaults.php
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO
;
4
5
class
PoolDefaults
implements
TolokaTransferObject
6
{
7
private
$overlapForNewTaskSuites;
8
private
$overlapForNewTasks;
9
13
public
function
getOverlapForNewTaskSuites
()
14
{
15
return
$this->overlapForNewTaskSuites;
16
}
17
23
public
function
setOverlapForNewTaskSuites
($overlapForNewTaskSuites)
24
{
25
$this->overlapForNewTaskSuites = $overlapForNewTaskSuites;
26
27
return
$this;
28
}
29
33
public
function
getOverlapForNewTasks
()
34
{
35
return
$this->overlapForNewTasks;
36
}
37
43
public
function
setOverlapForNewTasks
($overlapForNewTasks)
44
{
45
$this->overlapForNewTasks = $overlapForNewTasks;
46
47
return
$this;
48
}
49
50
51
52
public
function
toArray
(): array
53
{
54
return
[
55
"default_overlap_for_new_task_suites"
=> $this->overlapForNewTaskSuites,
56
"default_overlap_for_new_tasks"
=> $this->overlapForNewTasks
57
];
58
}
59
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults
Definition
pooldefaults.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults\getOverlapForNewTasks
getOverlapForNewTasks()
Definition
pooldefaults.php:33
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults\getOverlapForNewTaskSuites
getOverlapForNewTaskSuites()
Definition
pooldefaults.php:13
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults\setOverlapForNewTasks
setOverlapForNewTasks($overlapForNewTasks)
Definition
pooldefaults.php:43
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults\toArray
toArray()
Definition
pooldefaults.php:52
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults\setOverlapForNewTaskSuites
setOverlapForNewTaskSuites($overlapForNewTaskSuites)
Definition
pooldefaults.php:23
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Definition
tolokatransferobject.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO
modules
sender
lib
integration
yandex
toloka
dto
pooldefaults.php
Создано системой
1.10.0