Class: SDM::ManagedSecretLogsResponse

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

Overview

ManagedSecretLogsResponse contains a list of requested Managed Secrets

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rate_limit: nil) ⇒ ManagedSecretLogsResponse

Returns a new instance of ManagedSecretLogsResponse.



9784
9785
9786
9787
9788
# File 'lib/models/porcelain.rb', line 9784

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

Instance Attribute Details

#rate_limitObject

Rate limit information.



9782
9783
9784
# File 'lib/models/porcelain.rb', line 9782

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



9790
9791
9792
9793
9794
9795
9796
# File 'lib/models/porcelain.rb', line 9790

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