io.fabric8.repo.git.WebHookDTO Maven / Gradle / Ivy
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package io.fabric8.repo.git;
import java.util.ArrayList;
import java.util.List;
/**
*/
public class WebHookDTO extends EntitySupport {
private String name;
private String url;
private String testUrl;
private String pingUrl;
private Boolean active;
private List events = new ArrayList<>();
private WebhookConfig config;
private String updatedAt;
private String createdAt;
@Override
public String toString() {
return "WebHookDTO{" +
"url='" + url + '\'' +
", testUrl='" + testUrl + '\'' +
", pingUrl='" + pingUrl + '\'' +
", name='" + name + '\'' +
", createdAt='" + createdAt + '\'' +
", config=" + config +
", active=" + active +
", events=" + events +
", updatedAt='" + updatedAt + '\'' +
'}';
}
public Boolean getActive() {
return active;
}
public void setActive(Boolean active) {
this.active = active;
}
public WebhookConfig getConfig() {
return config;
}
public void setConfig(WebhookConfig config) {
this.config = config;
}
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public List getEvents() {
return events;
}
public void setEvents(List events) {
this.events = events;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPingUrl() {
return pingUrl;
}
public void setPingUrl(String pingUrl) {
this.pingUrl = pingUrl;
}
public String getTestUrl() {
return testUrl;
}
public void setTestUrl(String testUrl) {
this.testUrl = testUrl;
}
public String getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy