RackHD/on-http

View on GitHub
data/views/redfish-1.0/redfish.1.0.0.logentry.1.0.0.json

Summary

Maintainability
Test Coverage
{
    "@odata.context" : "<%= basepath %>/$metadata#LogEntry.LogEntry",
    "@odata.id": "<%= basepath %>/Systems/<%=identifier%>/LogServices/<%=type%>/Entries/<%= entry.logId %>",
    "@odata.type": "#LogEntry.v1_0_0.LogEntry",
    "Oem": {},
    "Id": "<%= entry.logId %>",
    "Name": "name",
    "EntryType": "<%= type %>",
    <% if (entry.timestamp !== "") { %>
    "Created": "<%= entry.timestamp %>",
    <% } %>
    "OemRecordFormat": "",
    "EntryCode": "<%= entry.value %>",
    "SensorType": "<%= entry.sensorType %>",
    "SensorNumber": <%= entry.sensorNumber %>,
    "Message": "<%= entry.event %>",
    "MessageId": "",
    "MessageArgs": [],
    "Links": {
        <% if (entry.origin) { %>
        "OriginOfCondition": {
            "@odata.id": "<%= entry.origin %>"
        },
        <% } %>
        "Oem": {}
    }
}