Class: SDM::SecretStoreHealthListResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rate_limit: nil) ⇒ SecretStoreHealthListResponse

Returns a new instance of SecretStoreHealthListResponse.



12059
12060
12061
12062
12063
# File 'lib/models/porcelain.rb', line 12059

def initialize(
  rate_limit: nil
)
  @rate_limit = rate_limit == nil ? nil : rate_limit
end

Instance Attribute Details

#rate_limitObject

Rate limit information.



12057
12058
12059
# File 'lib/models/porcelain.rb', line 12057

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



12065
12066
12067
12068
12069
12070
12071
# File 'lib/models/porcelain.rb', line 12065

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end