com.tinypass.client.publisher.model.WebhookSettings Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.WebhookConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class WebhookSettings {
/* The webhook endpoint URL */
private String url = null;
/* Whether the webhook endpoint is enabled */
private Boolean enabled = null;
private List configs = new ArrayList();
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public List getConfigs() {
return configs;
}
public void setConfigs(List configs) {
this.configs = configs;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WebhookSettings {\n");
sb.append(" url: ").append(url).append("\n");
sb.append(" enabled: ").append(enabled).append("\n");
sb.append(" configs: ").append(configs).append("\n");
sb.append("}\n");
return sb.toString();
}
}