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.



9300
9301
9302
9303
9304
# File 'lib/models/porcelain.rb', line 9300

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

Instance Attribute Details

#rate_limitObject

Rate limit information.



9298
9299
9300
# File 'lib/models/porcelain.rb', line 9298

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



9306
9307
9308
9309
9310
9311
9312
# File 'lib/models/porcelain.rb', line 9306

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