serialize () {
    return {
      title: this.getTitle(),
      description: this.getDescription(),
      bricks: this._bricks.map(brick => brick.serialize())
    }
  }
/**
   * Serializes Pipe to make it JSON serializable
   * @return {mixed} Structured data.
   */
Serializes Pipe to make it JSON serializable
@return {mixed} Structured data.
Serializes Pipe to make it JSON serializable @return { mixed } Structured data .
serialize () {
    return {
      title: this.getTitle(),
      description: this.getDescription(),
      bricks: this._bricks.map(brick => brick.serialize())
    }
  }
serialize ( ) { return { title : this . getTitle ( ) , description : this . getDescription ( ) , bricks : this . _bricks . map ( brick => brick . serialize ( ) ) } }
Serializes Pipe to make it JSON serializable
 @return {mixed} Structured data.
Serializes Pipe to make it JSON serializable @return { mixed } Structured data .