Class: SDM::ManagedSecretLogsRequest
- Inherits:
-
Object
- Object
- SDM::ManagedSecretLogsRequest
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretLogsRequest specifies criteria for retrieving a log of Managed Secrets actions.
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ ManagedSecretLogsRequest
constructor
A new instance of ManagedSecretLogsRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ ManagedSecretLogsRequest
Returns a new instance of ManagedSecretLogsRequest.
8492 8493 8494 8495 8496 |
# File 'lib/models/porcelain.rb', line 8492 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
8490 8491 8492 |
# File 'lib/models/porcelain.rb', line 8490 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8498 8499 8500 8501 8502 8503 8504 |
# File 'lib/models/porcelain.rb', line 8498 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 |