public function setContentInset($value) {
    if (is_object($value) && !$value instanceof ContentInset) {
      $this->triggerError('Object not of type ContentInset');
    }
    else {
      $this->contentInset = $value;
    }
    return $this;
  }
public function setContentInset($value) {
    if (is_object($value) && !$value instanceof ContentInset) {
      $this->triggerError('Object not of type ContentInset');
    }
    else {
      $this->contentInset = $value;
    }
    return $this;
  }
public function setContentInset ( $ value ) { if ( is_object ( $ value ) && ! $ value instanceof ContentInset ) { $ this -> triggerError ( 'Object not of type ContentInset' ) ; } else { $ this -> contentInset = $ value ; } return $ this ; }
Setter for contentInset.

@param bool|\ChapterThree\AppleNewsAPI\Document\ContentInset $value
ContentInset.

@return $this
Setter for contentInset .