PerformQuickActionRequest::getContextId()   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
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class PerformQuickActionRequest
6
{
7
    /**
8
     * @var ID
9
     */
10
    protected $contextId = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $quickActionName = null;
16
17
    /**
18
     * @var sObject[]
19
     */
20
    protected $records = null;
21
22
    /**
23
     * @param string $quickActionName
24
     */
25
    public function __construct($quickActionName = null)
26
    {
27
        $this->quickActionName = $quickActionName;
28
    }
29
30
    /**
31
     * @return ID
32
     */
33
    public function getContextId()
34
    {
35
        return $this->contextId;
36
    }
37
38
    /**
39
     * @param ID $contextId
40
     * @return \SForce\Wsdl\PerformQuickActionRequest
41
     */
42
    public function setContextId($contextId)
43
    {
44
        $this->contextId = $contextId;
45
        return $this;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getQuickActionName()
52
    {
53
        return $this->quickActionName;
54
    }
55
56
    /**
57
     * @param string $quickActionName
58
     * @return \SForce\Wsdl\PerformQuickActionRequest
59
     */
60
    public function setQuickActionName($quickActionName)
61
    {
62
        $this->quickActionName = $quickActionName;
63
        return $this;
64
    }
65
66
    /**
67
     * @return sObject[]
68
     */
69
    public function getRecords()
70
    {
71
        return $this->records;
72
    }
73
74
    /**
75
     * @param sObject[] $records
76
     * @return \SForce\Wsdl\PerformQuickActionRequest
77
     */
78
    public function setRecords(array $records = null)
79
    {
80
        $this->records = $records;
81
        return $this;
82
    }
83
}
84