Class: ChargeBee::AlertStatus

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/alert_status.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #respond_to_missing?, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#alarm_statusObject

Returns the value of attribute alarm_status.



4
5
6
# File 'lib/chargebee/models/alert_status.rb', line 4

def alarm_status
  @alarm_status
end

#alarm_triggered_atObject

Returns the value of attribute alarm_triggered_at.



4
5
6
# File 'lib/chargebee/models/alert_status.rb', line 4

def alarm_triggered_at
  @alarm_triggered_at
end

#alert_idObject

Returns the value of attribute alert_id.



4
5
6
# File 'lib/chargebee/models/alert_status.rb', line 4

def alert_id
  @alert_id
end

#subscription_idObject

Returns the value of attribute subscription_id.



4
5
6
# File 'lib/chargebee/models/alert_status.rb', line 4

def subscription_id
  @subscription_id
end

Class Method Details

.alert_statuses_for_alert(id, params = {}, env = nil, headers = {}) ⇒ Object



16
17
18
19
20
21
# File 'lib/chargebee/models/alert_status.rb', line 16

def self.alert_statuses_for_alert(id, params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("alerts",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, options)
end

.alert_statuses_for_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object

OPERATIONS




9
10
11
12
13
14
# File 'lib/chargebee/models/alert_status.rb', line 9

def self.alert_statuses_for_subscription(id, params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("subscriptions",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, options)
end