Class: SDM::HealthcheckListResponse
- Inherits:
-
Object
- Object
- SDM::HealthcheckListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
HealthcheckListResponse returns a list of Healthchecks that meet the criteria of a HealthcheckListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ HealthcheckListResponse
constructor
A new instance of HealthcheckListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
permalink #initialize(rate_limit: nil) ⇒ HealthcheckListResponse
Returns a new instance of HealthcheckListResponse.
6390 6391 6392 6393 6394 |
# File 'lib/models/porcelain.rb', line 6390 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
permalink #rate_limit ⇒ Object
Rate limit information.
6388 6389 6390 |
# File 'lib/models/porcelain.rb', line 6388 def rate_limit @rate_limit end |
Instance Method Details
permalink #to_json(options = {}) ⇒ Object
[View source]
6396 6397 6398 6399 6400 6401 6402 |
# File 'lib/models/porcelain.rb', line 6396 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |