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
Returns a new instance of SecretEngineCreateRequest.
14930 14931 14932 14933 14934 |
# File 'lib/models/porcelain.rb', line 14930 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.
14928 14929 14930 |
# File 'lib/models/porcelain.rb', line 14928 def secret_engine @secret_engine end |
Instance Method Details
#to_json(options = {}) ⇒ Object
14936 14937 14938 14939 14940 14941 14942 |
# File 'lib/models/porcelain.rb', line 14936 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 |