Model/Webhook.php
public function toJson()
    {
        $json = array();
        $json['id'] = $this->id;
        $json['url'] = $this->url;
        $json['pattern'] = $this->pattern;
        $json['event'] = $this->event;
        $json['name'] = $this->name;
        $json['links'] = $this->links;

        return $json;
    }
public function toJson()
    {
        $json = array();
        $json['id'] = $this->id;
        $json['url'] = $this->url;
        $json['pattern'] = $this->pattern;
        $json['event'] = $this->event;
        $json['name'] = $this->name;
        $json['links'] = $this->links;

        return $json;
    }
public function toJson ( ) { $ json = array ( ) ; $ json [ 'id' ] = $ this -> id ; $ json [ 'url' ] = $ this -> url ; $ json [ 'pattern' ] = $ this -> pattern ; $ json [ 'event' ] = $ this -> event ; $ json [ 'name' ] = $ this -> name ; $ json [ 'links' ] = $ this -> links ; return $ json ; }
Serializes Webhook object

@return array
Serializes Webhook object