Class: IbmPowerHmc::ServiceableEvent

Inherits:
AbstractRest show all
Defined in:
lib/ibm_power_hmc/schema/sem.rb

Overview

Serviceable Event

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

Attributes inherited from AbstractNonRest

#xml

Instance Method Summary collapse

Methods inherited from AbstractRest

#initialize, #to_s

Methods inherited from AbstractNonRest

#collection_of, #create_element, #initialize, marshal, #marshal, #singleton, #timestamp, #to_s, #uuid_from_href, #uuids_from_links

Constructor Details

This class inherits a constructor from IbmPowerHmc::AbstractRest

Instance Method Details

#created_timeObject



44
45
46
# File 'lib/ibm_power_hmc/schema/sem.rb', line 44

def created_time
  timestamp("createdTimestamp")
end

#ext_filesObject



60
61
62
# File 'lib/ibm_power_hmc/schema/sem.rb', line 60

def ext_files
  collection_of("extendedErrorData", "ExtendedFileData")
end

#failing_mtmsObject



36
37
38
# File 'lib/ibm_power_hmc/schema/sem.rb', line 36

def failing_mtms
  mtms("failingManagedSystemNode")
end

#first_reported_timeObject



48
49
50
# File 'lib/ibm_power_hmc/schema/sem.rb', line 48

def first_reported_time
  timestamp("firstReportedTimestamp")
end

#frusObject



56
57
58
# File 'lib/ibm_power_hmc/schema/sem.rb', line 56

def frus
  collection_of("fieldReplaceableUnits", "FieldReplaceableUnit")
end

#last_reported_timeObject



52
53
54
# File 'lib/ibm_power_hmc/schema/sem.rb', line 52

def last_reported_time
  timestamp("lastReportedTimestamp")
end

#reporting_mtmsObject



32
33
34
# File 'lib/ibm_power_hmc/schema/sem.rb', line 32

def reporting_mtms
  mtms("reportingManagedSystemNode")
end

#timeObject



40
41
42
# File 'lib/ibm_power_hmc/schema/sem.rb', line 40

def time
  timestamp("primaryTimestamp")
end