com.oneops.api.resource.model.LogDatum Maven / Gradle / Ivy
package com.oneops.api.resource.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "level", "requestId", "message" })
public class LogDatum {
@JsonProperty("level")
private String level;
@JsonProperty("requestId")
private String requestId;
@JsonProperty("message")
private String message;
@JsonIgnore
private Map additionalProperties = new HashMap();
@JsonProperty("level")
public String getLevel() {
return level;
}
@JsonProperty("level")
public void setLevel(String level) {
this.level = level;
}
@JsonProperty("requestId")
public String getRequestId() {
return requestId;
}
@JsonProperty("requestId")
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@JsonProperty("message")
public String getMessage() {
return message;
}
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}