Class: SDM::SecretEngineGetResponse
- Inherits:
-
Object
- Object
- SDM::SecretEngineGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretEngineGetResponse contains information about requested Secret Engine
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_engine ⇒ Object
The requested Secret Engine.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, secret_engine: nil) ⇒ SecretEngineGetResponse
constructor
A new instance of SecretEngineGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, secret_engine: nil) ⇒ SecretEngineGetResponse
Returns a new instance of SecretEngineGetResponse.
13735 13736 13737 13738 13739 13740 13741 13742 13743 |
# File 'lib/models/porcelain.rb', line 13735 def initialize( meta: nil, rate_limit: nil, secret_engine: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @secret_engine = secret_engine == nil ? nil : secret_engine end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
13729 13730 13731 |
# File 'lib/models/porcelain.rb', line 13729 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
13731 13732 13733 |
# File 'lib/models/porcelain.rb', line 13731 def rate_limit @rate_limit end |
#secret_engine ⇒ Object
The requested Secret Engine.
13733 13734 13735 |
# File 'lib/models/porcelain.rb', line 13733 def secret_engine @secret_engine end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13745 13746 13747 13748 13749 13750 13751 |
# File 'lib/models/porcelain.rb', line 13745 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 |