com.safelayer.rap.json.model.mapping.JsonLabelsMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX
The newest version!
package com.safelayer.rap.json.model.mapping;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.safelayer.rap.api.model.mapping.ByLabelsValueMapping.LabelsMapping;
public class JsonLabelsMapping implements LabelsMapping {
@JsonProperty
private List labels;
@JsonProperty
private String value;
public JsonLabelsMapping() {
}
@JsonIgnore
public JsonLabelsMapping(String value, List labels) {
this.labels = labels;
this.value = value;
}
@Override
public List getLabels() {
return labels;
}
public void setLabels(List labels) {
this.labels = labels;
}
@Override
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}