Class: SDM::SecretEngineCreateRequest
- Inherits:
-
Object
- Object
- SDM::SecretEngineCreateRequest
- Defined in:
- lib/models/porcelain.rb
Overview
SecretEngineCreateRequest specifies a Secret Engine to create.
Instance Attribute Summary collapse
-
#secret_engine ⇒ Object
Parameters to define the new Secret Engine.
Instance Method Summary collapse
-
#initialize(secret_engine: nil) ⇒ SecretEngineCreateRequest
constructor
A new instance of SecretEngineCreateRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(secret_engine: nil) ⇒ SecretEngineCreateRequest
13624 13625 13626 13627 13628 |
# File 'lib/models/porcelain.rb', line 13624 def initialize( secret_engine: nil ) @secret_engine = secret_engine == nil ? nil : secret_engine end |
Instance Attribute Details
#secret_engine ⇒ Object
Parameters to define the new Secret Engine.
13622 13623 13624 |
# File 'lib/models/porcelain.rb', line 13622 def secret_engine @secret_engine end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13630 13631 13632 13633 13634 13635 13636 |
# File 'lib/models/porcelain.rb', line 13630 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 |