com.aliyun.openservices.log.common.ResourceWebhookIntegration Maven / Gradle / Ivy
package com.aliyun.openservices.log.common;
import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class ResourceWebhookIntegration implements Serializable {
@JSONField(name = "id")
private String id;
@JSONField(name = "name")
private String name;
@JSONField(name = "method")
private String method;
@JSONField(name = "url")
private String url;
@JSONField(name = "type")
private String type;
@JSONField(name = "headers")
private List headers;
@JSONField(name = "secret")
private String secret;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getHeaders() {
return headers;
}
public void setHeaders(List headers) {
this.headers = headers;
}
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public static class Header {
@JSONField(name = "key")
private String key;
@JSONField(name = "value")
private String value;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy