Commit 25a8cc13 authored by Greg Messner's avatar Greg Messner
Browse files

Added withXXXX() methods.

parent c561c753
...@@ -5,8 +5,6 @@ import java.util.Date; ...@@ -5,8 +5,6 @@ import java.util.Date;
import org.gitlab4j.api.utils.JacksonJson; import org.gitlab4j.api.utils.JacksonJson;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class ProjectHook { public class ProjectHook {
private Boolean buildEvents; private Boolean buildEvents;
...@@ -181,125 +179,65 @@ public class ProjectHook { ...@@ -181,125 +179,65 @@ public class ProjectHook {
public void setPushEventsBranchFilter(String pushEventsBranchFilter) { public void setPushEventsBranchFilter(String pushEventsBranchFilter) {
this.pushEventsBranchFilter = pushEventsBranchFilter; this.pushEventsBranchFilter = pushEventsBranchFilter;
} }
/** public ProjectHook withIssuesEvents(Boolean issuesEvents) {
* @return the do build events flag this.issuesEvents = issuesEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getBuildEvents()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getBuild_events() {
return buildEvents;
} }
/** public ProjectHook withMergeRequestsEvents(Boolean mergeRequestsEvents) {
* @param buildEvents the do build events flag this.mergeRequestsEvents = mergeRequestsEvents;
* @deprecated As of release 4.1.0, replaced by {@link #setBuildEvents(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setBuild_events(Boolean buildEvents) {
this.buildEvents = buildEvents;
} }
/** public ProjectHook withNoteEvents(Boolean noteEvents) {
* @return the enable SSL verification flag this.noteEvents = noteEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getEnableSslVerification()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getEnable_ssl_verification() {
return enableSslVerification;
} }
/** public ProjectHook withJobEvents(Boolean jobEvents) {
* @param enableSslVerification the enable SSL verification flag this.jobEvents = jobEvents;
* @deprecated As of release 4.1.0, replaced by {@link #setEnableSslVerification(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setEnable_ssl_verification(Boolean enableSslVerification) {
this.enableSslVerification = enableSslVerification;
} }
/** public ProjectHook withPipelineEvents(Boolean pipelineEvents) {
* @return the do note events flag this.pipelineEvents = pipelineEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getNoteEvents()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getNote_events() {
return noteEvents;
} }
/** public ProjectHook withPushEvents(Boolean pushEvents) {
* @param noteEvents the do note events flag this.pushEvents = pushEvents;
* @deprecated As of release 4.1.0, replaced by {@link #setNoteEvents(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setNote_events(Boolean noteEvents) {
this.noteEvents = noteEvents;
} }
/** public ProjectHook withTagPushEvents(Boolean tagPushEvents) {
* @return the do pipeline events flag this.tagPushEvents = tagPushEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getPipelineEvents()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getPipeline_events() {
return pipelineEvents;
} }
/** public ProjectHook withWikiPageEvents(Boolean wikiPageEvents) {
* @param pipelineEvents the do pipeline events flag this.wikiPageEvents = wikiPageEvents;
* @deprecated As of release 4.1.0, replaced by {@link #setPipelineEvents(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setPipeline_events(Boolean pipelineEvents) {
this.pipelineEvents = pipelineEvents;
} }
/** public ProjectHook withRepositoryUpdateEvents(Boolean repositoryUpdateEvents) {
* @return the do tag push events flag this.repositoryUpdateEvents = repositoryUpdateEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getTagPushEvents()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getTag_push_events() {
return tagPushEvents;
} }
/** public ProjectHook withConfidentialIssuesEvents(Boolean confidentialIssuesEvents) {
* @param tagPushEvents the do tag push events flag this.confidentialIssuesEvents = confidentialIssuesEvents;
* @deprecated As of release 4.1.0, replaced by {@link #setTagPushEvents(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setTag_push_events(Boolean tagPushEvents) {
this.tagPushEvents = tagPushEvents;
} }
/** public ProjectHook withConfidentialNoteEvents(Boolean confidentialNoteEvents) {
* @return the do wiki page events flag this.confidentialNoteEvents = confidentialNoteEvents;
* @deprecated As of release 4.1.0, replaced by {@link #getWikiPageEvents()} return (this);
*/
@Deprecated
@JsonIgnore
public Boolean getWiki_page_events() {
return wikiPageEvents;
} }
/** public ProjectHook withPushEventsBranchFilter(String pushEventsBranchFilter) {
* @param wikiPageEvents the do wiki page events flag this.pushEventsBranchFilter = pushEventsBranchFilter;
* @deprecated As of release 4.1.0, replaced by {@link #setWikiPageEvents(Boolean)} return (this);
*/
@Deprecated
@JsonIgnore
public void setWiki_page_events(Boolean wikiPageEvents) {
this.wikiPageEvents = wikiPageEvents;
} }
@Override @Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment