| Total Complexity | 11 |
| Total Lines | 123 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class EmailFileAttachment |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var base64Binary |
||
| 9 | */ |
||
| 10 | protected $body = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $contentType = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $fileName = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ID |
||
| 24 | */ |
||
| 25 | protected $id = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var boolean |
||
| 29 | */ |
||
| 30 | protected $inline = null; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $fileName |
||
| 34 | */ |
||
| 35 | public function __construct($fileName = null) |
||
| 36 | { |
||
| 37 | $this->fileName = $fileName; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return base64Binary |
||
| 42 | */ |
||
| 43 | public function getBody() |
||
| 44 | { |
||
| 45 | return $this->body; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param base64Binary $body |
||
| 50 | * @return \SForce\Wsdl\EmailFileAttachment |
||
| 51 | */ |
||
| 52 | public function setBody($body) |
||
| 53 | { |
||
| 54 | $this->body = $body; |
||
| 55 | return $this; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | public function getContentType() |
||
| 62 | { |
||
| 63 | return $this->contentType; |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param string $contentType |
||
| 68 | * @return \SForce\Wsdl\EmailFileAttachment |
||
| 69 | */ |
||
| 70 | public function setContentType($contentType) |
||
| 71 | { |
||
| 72 | $this->contentType = $contentType; |
||
| 73 | return $this; |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string |
||
| 78 | */ |
||
| 79 | public function getFileName() |
||
| 80 | { |
||
| 81 | return $this->fileName; |
||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param string $fileName |
||
| 86 | * @return \SForce\Wsdl\EmailFileAttachment |
||
| 87 | */ |
||
| 88 | public function setFileName($fileName) |
||
| 89 | { |
||
| 90 | $this->fileName = $fileName; |
||
| 91 | return $this; |
||
| 92 | } |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @return ID |
||
| 96 | */ |
||
| 97 | public function getId() |
||
| 100 | } |
||
| 101 | |||
| 102 | /** |
||
| 103 | * @param ID $id |
||
| 104 | * @return \SForce\Wsdl\EmailFileAttachment |
||
| 105 | */ |
||
| 106 | public function setId($id) |
||
| 107 | { |
||
| 108 | $this->id = $id; |
||
| 109 | return $this; |
||
| 110 | } |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @return boolean |
||
| 114 | */ |
||
| 115 | public function getInline() |
||
| 118 | } |
||
| 119 | |||
| 120 | /** |
||
| 121 | * @param boolean $inline |
||
| 122 | * @return \SForce\Wsdl\EmailFileAttachment |
||
| 123 | */ |
||
| 124 | public function setInline($inline) |
||
| 128 | } |
||
| 129 | } |
||
| 130 |