Class: IbmPowerHmc::ServiceableEvent
Overview
Constant Summary
collapse
- ATTRS =
{
:prob_uuid => "problemUuid",
:hostname => "reportingConsoleNode/hostName",
:number => "problemNumber",
:hw_record => "problemManagementHardwareRecord",
:description => "shortDescription",
:state => "problemState",
:approval_state => "ApprovalState",
:refcode => "referenceCode",
:refcode_ext => "referenceCodeExtension",
:refcode_sys => "systemReferenceCode",
:call_home => "callHomeEnabled",
:dup_count => "duplicateCount",
:severity => "eventSeverity",
:notif_type => "notificationType",
:notif_status => "notificationStatus",
:post_action => "postAction",
:symptom => "symptomString",
:lpar_id => "partitionId",
:lpar_name => "partitionName",
:lpar_hostname => "partitionHostName",
:lpar_ostype => "partitionOSType",
:syslog_id => "sysLogId",
:total_events => "totalEvents"
}.freeze
Instance Attribute Summary
Attributes inherited from AbstractRest
#content_type, #etag, #href, #published, #uuid
#xml
Instance Method Summary
collapse
#initialize, #to_s
#collection_of, #create_element, #initialize, marshal, #marshal, #singleton, #timestamp, #to_s, #uuid_from_href, #uuids_from_links
Instance Method Details
#created_time ⇒ Object
44
45
46
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 44
def created_time
timestamp("createdTimestamp")
end
|
#ext_files ⇒ Object
60
61
62
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 60
def ext_files
collection_of("extendedErrorData", "ExtendedFileData")
end
|
#failing_mtms ⇒ Object
36
37
38
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 36
def failing_mtms
mtms("failingManagedSystemNode")
end
|
#first_reported_time ⇒ Object
48
49
50
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 48
def first_reported_time
timestamp("firstReportedTimestamp")
end
|
#frus ⇒ Object
56
57
58
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 56
def frus
collection_of("fieldReplaceableUnits", "FieldReplaceableUnit")
end
|
#last_reported_time ⇒ Object
52
53
54
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 52
def last_reported_time
timestamp("lastReportedTimestamp")
end
|
#reporting_mtms ⇒ Object
32
33
34
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 32
def reporting_mtms
mtms("reportingManagedSystemNode")
end
|
#time ⇒ Object
40
41
42
|
# File 'lib/ibm_power_hmc/schema/sem.rb', line 40
def time
timestamp("primaryTimestamp")
end
|