Class: SDM::ManagedSecretRetrieveRequest
- Inherits:
-
Object
- Object
- SDM::ManagedSecretRetrieveRequest
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretRetrieveRequest specifies which Managed Secret to retrieve
Instance Attribute Summary collapse
-
#id ⇒ Object
The unique identifier of the Managed Secret to retrieve.
-
#public_key ⇒ Object
Public key to encrypt a sensitive value with.
Instance Method Summary collapse
-
#initialize(id: nil, public_key: nil) ⇒ ManagedSecretRetrieveRequest
constructor
A new instance of ManagedSecretRetrieveRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, public_key: nil) ⇒ ManagedSecretRetrieveRequest
10350 10351 10352 10353 10354 10355 10356 |
# File 'lib/models/porcelain.rb', line 10350 def initialize( id: nil, public_key: nil ) @id = id == nil ? "" : id @public_key = public_key == nil ? "" : public_key end |
Instance Attribute Details
#id ⇒ Object
The unique identifier of the Managed Secret to retrieve.
10346 10347 10348 |
# File 'lib/models/porcelain.rb', line 10346 def id @id end |
#public_key ⇒ Object
Public key to encrypt a sensitive value with
10348 10349 10350 |
# File 'lib/models/porcelain.rb', line 10348 def public_key @public_key end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10358 10359 10360 10361 10362 10363 10364 |
# File 'lib/models/porcelain.rb', line 10358 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 |