58 lines
2.0 KiB
Java
58 lines
2.0 KiB
Java
package biz.nellemann.hmci.dto.xml;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
@JacksonXmlRootElement(localName = "ManagedSystemPcmPreference:ManagedSystemPcmPreference")
|
|
public class ManagedSystemPcmPreference {
|
|
|
|
@JacksonXmlProperty(isAttribute = true)
|
|
private final String schemaVersion = "V1_0";
|
|
|
|
@JacksonXmlProperty(isAttribute = true, localName = "xmlns")
|
|
private final String xmlns = "http://www.ibm.com/xmlns/systems/power/firmware/pcm/mc/2012_10/";
|
|
|
|
@JacksonXmlProperty(isAttribute = true, localName = "xmlns:ManagedSystemPcmPreference")
|
|
private final String ns1 = "http://www.ibm.com/xmlns/systems/power/firmware/pcm/mc/2012_10/";
|
|
|
|
@JacksonXmlProperty(isAttribute = true, localName = "xmlns:ns2")
|
|
private final String ns2 = "http://www.w3.org/XML/1998/namespace/k2";
|
|
|
|
|
|
@JsonProperty("Metadata")
|
|
public Metadata metadata;
|
|
|
|
@JsonProperty("SystemName")
|
|
public String systemName;
|
|
|
|
@JsonProperty("MachineTypeModelSerialNumber")
|
|
public MachineTypeModelAndSerialNumber machineTypeModelSerialNumber;
|
|
|
|
@JsonProperty("EnergyMonitoringCapable")
|
|
public Boolean energyMonitoringCapable = false;
|
|
|
|
@JsonProperty("LongTermMonitorEnabled")
|
|
public Boolean longTermMonitorEnabled;
|
|
|
|
@JsonProperty("AggregationEnabled")
|
|
public Boolean aggregationEnabled;
|
|
|
|
@JsonProperty("ShortTermMonitorEnabled")
|
|
public Boolean shortTermMonitorEnabled;
|
|
|
|
// ksv ksv="V1_1_0"
|
|
//@JacksonXmlProperty(isAttribute = true)
|
|
//@JsonProperty("ComputeLTMEnabled")
|
|
//public Boolean computeLTMEnabled;
|
|
|
|
@JsonProperty("EnergyMonitorEnabled")
|
|
public Boolean energyMonitorEnabled = false;
|
|
|
|
@JsonProperty("AssociatedManagedSystem")
|
|
public Link associatedManagedSystem;
|
|
|
|
}
|