Class: SDM::SecretStoreGetResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretStoreGetResponse returns a requested SecretStore.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_store ⇒ Object
The requested SecretStore.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, secret_store: nil) ⇒ SecretStoreGetResponse
constructor
A new instance of SecretStoreGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, secret_store: nil) ⇒ SecretStoreGetResponse
Returns a new instance of SecretStoreGetResponse.
10326 10327 10328 10329 10330 10331 10332 10333 10334 |
# File 'lib/models/porcelain.rb', line 10326 def initialize( meta: nil, rate_limit: nil, secret_store: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @secret_store = secret_store == nil ? nil : secret_store end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
10320 10321 10322 |
# File 'lib/models/porcelain.rb', line 10320 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
10322 10323 10324 |
# File 'lib/models/porcelain.rb', line 10322 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The requested SecretStore.
10324 10325 10326 |
# File 'lib/models/porcelain.rb', line 10324 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10336 10337 10338 10339 10340 10341 10342 |
# File 'lib/models/porcelain.rb', line 10336 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 |