ExecuteListViewRequest   A
last analyzed

Complexity

Total Complexity 11

Size/Duplication

Total Lines 127
Duplicated Lines 0 %

Importance

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

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getLimit() 0 3 1
A setOffset() 0 4 1
A setOrderBy() 0 4 1
A setDeveloperNameOrId() 0 4 1
A getSobjectType() 0 3 1
A setSobjectType() 0 4 1
A getDeveloperNameOrId() 0 3 1
A __construct() 0 5 1
A getOffset() 0 3 1
A getOrderBy() 0 3 1
A setLimit() 0 4 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class ExecuteListViewRequest
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $developerNameOrId = null;
11
12
    /**
13
     * @var int
14
     */
15
    protected $limit = null;
16
17
    /**
18
     * @var int
19
     */
20
    protected $offset = null;
21
22
    /**
23
     * @var ListViewOrderBy[]
24
     */
25
    protected $orderBy = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $sobjectType = null;
31
32
    /**
33
     * @param string $developerNameOrId
34
     * @param ListViewOrderBy[] $orderBy
35
     * @param string $sobjectType
36
     */
37
    public function __construct($developerNameOrId = null, array $orderBy = null, $sobjectType = null)
38
    {
39
        $this->developerNameOrId = $developerNameOrId;
40
        $this->orderBy = $orderBy;
41
        $this->sobjectType = $sobjectType;
42
    }
43
44
    /**
45
     * @return string
46
     */
47
    public function getDeveloperNameOrId()
48
    {
49
        return $this->developerNameOrId;
50
    }
51
52
    /**
53
     * @param string $developerNameOrId
54
     * @return \SForce\Wsdl\ExecuteListViewRequest
55
     */
56
    public function setDeveloperNameOrId($developerNameOrId)
57
    {
58
        $this->developerNameOrId = $developerNameOrId;
59
        return $this;
60
    }
61
62
    /**
63
     * @return int
64
     */
65
    public function getLimit()
66
    {
67
        return $this->limit;
68
    }
69
70
    /**
71
     * @param int $limit
72
     * @return \SForce\Wsdl\ExecuteListViewRequest
73
     */
74
    public function setLimit($limit)
75
    {
76
        $this->limit = $limit;
77
        return $this;
78
    }
79
80
    /**
81
     * @return int
82
     */
83
    public function getOffset()
84
    {
85
        return $this->offset;
86
    }
87
88
    /**
89
     * @param int $offset
90
     * @return \SForce\Wsdl\ExecuteListViewRequest
91
     */
92
    public function setOffset($offset)
93
    {
94
        $this->offset = $offset;
95
        return $this;
96
    }
97
98
    /**
99
     * @return ListViewOrderBy[]
100
     */
101
    public function getOrderBy()
102
    {
103
        return $this->orderBy;
104
    }
105
106
    /**
107
     * @param ListViewOrderBy[] $orderBy
108
     * @return \SForce\Wsdl\ExecuteListViewRequest
109
     */
110
    public function setOrderBy(array $orderBy)
111
    {
112
        $this->orderBy = $orderBy;
113
        return $this;
114
    }
115
116
    /**
117
     * @return string
118
     */
119
    public function getSobjectType()
120
    {
121
        return $this->sobjectType;
122
    }
123
124
    /**
125
     * @param string $sobjectType
126
     * @return \SForce\Wsdl\ExecuteListViewRequest
127
     */
128
    public function setSobjectType($sobjectType)
129
    {
130
        $this->sobjectType = $sobjectType;
131
        return $this;
132
    }
133
}
134