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.



11663
11664
11665
11666
11667
# File 'lib/models/porcelain.rb', line 11663

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

Instance Attribute Details

#rate_limitObject

Rate limit information.



11661
11662
11663
# File 'lib/models/porcelain.rb', line 11661

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



11669
11670
11671
11672
11673
11674
11675
# File 'lib/models/porcelain.rb', line 11669

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