Class: Fog::OpenStack::Monitoring::AlarmState

Inherits:
Fog::OpenStack::Model show all
Defined in:
lib/fog/openstack/monitoring/models/alarm_state.rb

Instance Attribute Summary

Attributes inherited from Fog::OpenStack::Model

#project

Instance Method Summary collapse

Methods inherited from Fog::OpenStack::Model

#create, #destroy, #initialize, #save, #update

Constructor Details

This class inherits a constructor from Fog::OpenStack::Model

Instance Method Details

#patch(options) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/fog/openstack/monitoring/models/alarm_state.rb', line 18

def patch(options)
  requires :id
  merge_attributes(
    service.list_alarm_state_history_for_specific_alarm(id, options)
  )
  self
end

#to_sObject



26
27
28
# File 'lib/fog/openstack/monitoring/models/alarm_state.rb', line 26

def to_s
  name
end