Class: SDM::SecretStoreCreateResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretStoreCreateResponse reports how the SecretStores were created in the system.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_store ⇒ Object
The created SecretStore.
Instance Method Summary collapse
-
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreCreateResponse
constructor
A new instance of SecretStoreCreateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreCreateResponse
Returns a new instance of SecretStoreCreateResponse.
5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 |
# File 'lib/models/porcelain.rb', line 5540 def initialize( meta: nil, secret_store: nil, rate_limit: nil ) if != nil @meta = end if secret_store != nil @secret_store = secret_store end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5534 5535 5536 |
# File 'lib/models/porcelain.rb', line 5534 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5538 5539 5540 |
# File 'lib/models/porcelain.rb', line 5538 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The created SecretStore.
5536 5537 5538 |
# File 'lib/models/porcelain.rb', line 5536 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5556 5557 5558 5559 5560 5561 5562 |
# File 'lib/models/porcelain.rb', line 5556 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 |