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.
5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 |
# File 'lib/models/porcelain.rb', line 5683 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.
5677 5678 5679 |
# File 'lib/models/porcelain.rb', line 5677 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5681 5682 5683 |
# File 'lib/models/porcelain.rb', line 5681 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The updated SecretStore.
5679 5680 5681 |
# File 'lib/models/porcelain.rb', line 5679 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5699 5700 5701 5702 5703 5704 5705 |
# File 'lib/models/porcelain.rb', line 5699 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 |