org.openstack4j.openstack.telemetry.domain.CeilometerTraitDescription Maven / Gradle / Ivy
package org.openstack4j.openstack.telemetry.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.openstack4j.model.telemetry.TraitDescription;
/**
* A description of a trait, with no associated value.
*
* @author Miroslav Lacina
*/
public class CeilometerTraitDescription implements TraitDescription {
private static final long serialVersionUID = 1L;
@JsonProperty("name")
private String name;
@JsonProperty("type")
private String type;
/**
* {@inheritDoc}
*/
@Override
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* {@inheritDoc}
*/
@Override
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}