com.hubspot.chrome.devtools.client.core.page.AppManifestError Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.page;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Error while paring app manifest.
*/
public final class AppManifestError {
private String message;
private Integer critical;
private Integer line;
private Integer column;
@JsonCreator
public AppManifestError(@JsonProperty("message") String message,
@JsonProperty("critical") Integer critical, @JsonProperty("line") Integer line,
@JsonProperty("column") Integer column) {
this.message = message;
this.critical = critical;
this.line = line;
this.column = column;
}
public String getMessage() {
return message;
}
public Integer getCritical() {
return critical;
}
public Integer getLine() {
return line;
}
public Integer getColumn() {
return column;
}
public static AppManifestError.Builder builder() {
return new AppManifestError.Builder();
}
public static final class Builder {
private String message;
private Integer critical;
private Integer line;
private Integer column;
private Builder() {
}
public AppManifestError.Builder setMessage(String message) {
this.message = message;
return this;
}
public AppManifestError.Builder setCritical(Integer critical) {
this.critical = critical;
return this;
}
public AppManifestError.Builder setLine(Integer line) {
this.line = line;
return this;
}
public AppManifestError.Builder setColumn(Integer column) {
this.column = column;
return this;
}
public AppManifestError build() {
return new AppManifestError(message, critical, line, column);
}
}
}