
com.floragunn.searchguard.sgconf.impl.Meta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of search-guard-7 Show documentation
Show all versions of search-guard-7 Show documentation
Provide access control related features for Elasticsearch 6
The newest version!
package com.floragunn.searchguard.sgconf.impl;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Meta {
private String type;
private int config_version;
private CType cType;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
cType = CType.fromString(type);
}
public int getConfig_version() {
return config_version;
}
public void setConfig_version(int config_version) {
this.config_version = config_version;
}
@JsonIgnore
public CType getCType() {
return cType;
}
@Override
public String toString() {
return "Meta [type=" + type + ", config_version=" + config_version + ", cType=" + cType + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy