Class: SDM::ManagedSecretGetResponse
- Inherits:
-
Object
- Object
- SDM::ManagedSecretGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretGetResponse contains information about requested Managed Secret
Instance Attribute Summary collapse
-
#managed_secret ⇒ Object
The requested Managed Secret.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(managed_secret: nil, meta: nil, rate_limit: nil) ⇒ ManagedSecretGetResponse
constructor
A new instance of ManagedSecretGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(managed_secret: nil, meta: nil, rate_limit: nil) ⇒ ManagedSecretGetResponse
Returns a new instance of ManagedSecretGetResponse.
11001 11002 11003 11004 11005 11006 11007 11008 11009 |
# File 'lib/models/porcelain.rb', line 11001 def initialize( managed_secret: nil, meta: nil, rate_limit: nil ) @managed_secret = managed_secret == nil ? nil : managed_secret @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#managed_secret ⇒ Object
The requested Managed Secret.
10995 10996 10997 |
# File 'lib/models/porcelain.rb', line 10995 def managed_secret @managed_secret end |
#meta ⇒ Object
Reserved for future use.
10997 10998 10999 |
# File 'lib/models/porcelain.rb', line 10997 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
10999 11000 11001 |
# File 'lib/models/porcelain.rb', line 10999 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11011 11012 11013 11014 11015 11016 11017 |
# File 'lib/models/porcelain.rb', line 11011 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 |