| @@ 787-795 (lines=9) @@ | ||
| 784 | * |
|
| 785 | * @return \Acquia\LiftClient\Entity\Capture |
|
| 786 | */ |
|
| 787 | public function setContentId($contentId) |
|
| 788 | { |
|
| 789 | if (!is_string($contentId)) { |
|
| 790 | throw new LiftSdkException('Argument must be an instance of string.'); |
|
| 791 | } |
|
| 792 | $this['content_id'] = $contentId; |
|
| 793 | ||
| 794 | return $this; |
|
| 795 | } |
|
| 796 | ||
| 797 | /** |
|
| 798 | * 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['id'] = $contentId; |
|
| 32 | ||
| 33 | return $this; |
|
| 34 | } |
|
| 35 | ||
| 36 | /** |
|
| 37 | * Gets the 'id' parameter. |
|