package org.gitlab4j.api.models;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class SystemHook {

    private Integer id;
    private String url;
    private Date createdAt;
    private Boolean pushEvents;
    private Boolean tagPushEvents;
    private Boolean enableSslVerification;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Boolean getPushEvents() {
        return pushEvents;
    }

    public void setPushEvents(Boolean pushEvents) {
        this.pushEvents = pushEvents;
    }

    public Boolean getTagPushEvents() {
        return tagPushEvents;
    }

    public void setTagPushEvents(Boolean tagPushEvents) {
        this.tagPushEvents = tagPushEvents;
    }

    public Boolean getEnableSslVerification() {
        return enableSslVerification;
    }

    public void setEnableSslVerification(Boolean enableSslVerification) {
        this.enableSslVerification = enableSslVerification;
    }
}

@@ -465,16 +465,60 @@
 ication;
+%0A    private Boolean repositoryUpdateEvents;
 %0A%0A    pu
@@ -1498,10 +1498,841 @@
 ;%0A    %7D%0A
+%0A    public void setRepositoryUpdateEvents(Boolean repositoryUpdateEvents) %7B%0A        this.repositoryUpdateEvents = repositoryUpdateEvents;%0A    %7D%0A%0A    public Boolean getRepositoryUpdateEvents() %7B%0A        return repositoryUpdateEvents;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        final StringBuilder sb = new StringBuilder(%22SystemHook%7B%22);%0A        sb.append(%22id=%22).append(id);%0A        sb.append(%22, url='%22).append(url).append('%5C'');%0A        sb.append(%22, createdAt=%22).append(createdAt);%0A        sb.append(%22, pushEvents=%22).append(pushEvents);%0A        sb.append(%22, tagPushEvents=%22).append(tagPushEvents);%0A        sb.append(%22, enableSslVerification=%22).append(enableSslVerification);%0A        sb.append(%22, repositoryUpdateEvents=%22).append(repositoryUpdateEvents);%0A        sb.append('%7D');%0A        return sb.toString();%0A    %7D%0A%0A
 %7D%0A

add repositoryUpdateEvents as field to SystemHook model (#234)