Class: SDM::SecretStoreUpdateResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreUpdateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by a SecretStoreUpdateRequest.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_store ⇒ Object
The updated SecretStore.
Instance Method Summary collapse
-
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreUpdateResponse
constructor
A new instance of SecretStoreUpdateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreUpdateResponse
Returns a new instance of SecretStoreUpdateResponse.
6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 |
# File 'lib/models/porcelain.rb', line 6616 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.
6610 6611 6612 |
# File 'lib/models/porcelain.rb', line 6610 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
6614 6615 6616 |
# File 'lib/models/porcelain.rb', line 6614 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The updated SecretStore.
6612 6613 6614 |
# File 'lib/models/porcelain.rb', line 6612 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6632 6633 6634 6635 6636 6637 6638 |
# File 'lib/models/porcelain.rb', line 6632 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 |