DescribeAvailableQuickActionResult::getLabel()   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 DescribeAvailableQuickActionResult
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $actionEnumOrId = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $label = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $name = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $type = null;
26
27
    /**
28
     * @param string $actionEnumOrId
29
     * @param string $label
30
     * @param string $name
31
     * @param string $type
32
     */
33
    public function __construct($actionEnumOrId = null, $label = null, $name = null, $type = null)
34
    {
35
        $this->actionEnumOrId = $actionEnumOrId;
36
        $this->label = $label;
37
        $this->name = $name;
38
        $this->type = $type;
39
    }
40
41
    /**
42
     * @return string
43
     */
44
    public function getActionEnumOrId()
45
    {
46
        return $this->actionEnumOrId;
47
    }
48
49
    /**
50
     * @param string $actionEnumOrId
51
     * @return \SForce\Wsdl\DescribeAvailableQuickActionResult
52
     */
53
    public function setActionEnumOrId($actionEnumOrId)
54
    {
55
        $this->actionEnumOrId = $actionEnumOrId;
56
        return $this;
57
    }
58
59
    /**
60
     * @return string
61
     */
62
    public function getLabel()
63
    {
64
        return $this->label;
65
    }
66
67
    /**
68
     * @param string $label
69
     * @return \SForce\Wsdl\DescribeAvailableQuickActionResult
70
     */
71
    public function setLabel($label)
72
    {
73
        $this->label = $label;
74
        return $this;
75
    }
76
77
    /**
78
     * @return string
79
     */
80
    public function getName()
81
    {
82
        return $this->name;
83
    }
84
85
    /**
86
     * @param string $name
87
     * @return \SForce\Wsdl\DescribeAvailableQuickActionResult
88
     */
89
    public function setName($name)
90
    {
91
        $this->name = $name;
92
        return $this;
93
    }
94
95
    /**
96
     * @return string
97
     */
98
    public function getType()
99
    {
100
        return $this->type;
101
    }
102
103
    /**
104
     * @param string $type
105
     * @return \SForce\Wsdl\DescribeAvailableQuickActionResult
106
     */
107
    public function setType($type)
108
    {
109
        $this->type = $type;
110
        return $this;
111
    }
112
}
113