Class: SDM::SecretEngineUpdateResponse
- Inherits:
-
Object
- Object
- SDM::SecretEngineUpdateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretEngineUpdateResponse contains information about Secret Engine after successful update.
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) ⇒ SecretEngineUpdateResponse
constructor
A new instance of SecretEngineUpdateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, secret_engine: nil) ⇒ SecretEngineUpdateResponse
Returns a new instance of SecretEngineUpdateResponse.
16889 16890 16891 16892 16893 16894 16895 16896 16897 |
# File 'lib/models/porcelain.rb', line 16889 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.
16883 16884 16885 |
# File 'lib/models/porcelain.rb', line 16883 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
16885 16886 16887 |
# File 'lib/models/porcelain.rb', line 16885 def rate_limit @rate_limit end |
#secret_engine ⇒ Object
The requested Secret Engine.
16887 16888 16889 |
# File 'lib/models/porcelain.rb', line 16887 def secret_engine @secret_engine end |
Instance Method Details
#to_json(options = {}) ⇒ Object
16899 16900 16901 16902 16903 16904 16905 |
# File 'lib/models/porcelain.rb', line 16899 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 |