| @@ 791-799 (lines=9) @@ | ||
| 788 | * |
|
| 789 | * @return \Acquia\LiftClient\Entity\Capture |
|
| 790 | */ |
|
| 791 | public function setContentId($contentId) |
|
| 792 | { |
|
| 793 | if (!is_string($contentId)) { |
|
| 794 | throw new LiftSdkException('Argument must be an instance of string.'); |
|
| 795 | } |
|
| 796 | $this['content_id'] = $contentId; |
|
| 797 | ||
| 798 | return $this; |
|
| 799 | } |
|
| 800 | ||
| 801 | /** |
|
| 802 | * Sets the 'content_type' parameter. |
|
| @@ 26-34 (lines=9) @@ | ||
| 23 | * |
|
| 24 | * @return \Acquia\LiftClient\Entity\Probability |
|
| 25 | */ |
|
| 26 | public function setContentId($contentId) |
|
| 27 | { |
|
| 28 | if (!is_string($contentId)) { |
|
| 29 | throw new LiftSdkException('Argument must be an instance of string.'); |
|
| 30 | } |
|
| 31 | $this['content_id'] = $contentId; |
|
| 32 | ||
| 33 | return $this; |
|
| 34 | } |
|
| 35 | ||
| 36 | /** |
|
| 37 | * Gets the 'id' parameter. |
|