public interface Fault extends ChildOf<Obj>, Augmentable<Fault>, Identifiable<FaultKey>
This class represents the following YANG schema fragment defined in module ocp-types
list fault {
key "id"
leaf id {
type FaultId;
}
leaf severity {
type FaultSeverity;
}
leaf timestamp {
type xsd-dateTime;
}
leaf descr {
type string;
}
leaf-list affectedObj {
type string;
}
}
The schema path to identify an instance is
ocp-types/getFaultOutput/obj/fault
To create instances of this class use FaultBuilder.
FaultBuilder,
FaultKey| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAffectedObj() |
String |
getDescr() |
FaultId |
getId() |
FaultKey |
getKey()
Returns Primary Key of Yang List Type
|
FaultSeverity |
getSeverity() |
XsdDateTime |
getTimestamp() |
getImplementedInterfacegetAugmentationFaultId getId()
org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.common.types.rev150811.FaultId id, or null if not presentFaultSeverity getSeverity()
org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.common.types.rev150811.FaultSeverity severity, or null if not presentXsdDateTime getTimestamp()
org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.xsd.types.rev150811.XsdDateTime timestamp, or null if not presentString getDescr()
java.lang.String descr, or null if not presentList<String> getAffectedObj()
java.util.List affectedObj, or null if not presentFaultKey getKey()
getKey in interface Identifiable<FaultKey>org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.common.types.rev150811.getfaultoutput.obj.FaultKey key, or null if not presentCopyright © 2016 OpenDaylight. All rights reserved.