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.
5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 |
# File 'lib/models/porcelain.rb', line 5717 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.
5711 5712 5713 |
# File 'lib/models/porcelain.rb', line 5711 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5715 5716 5717 |
# File 'lib/models/porcelain.rb', line 5715 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The updated SecretStore.
5713 5714 5715 |
# File 'lib/models/porcelain.rb', line 5713 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5733 5734 5735 5736 5737 5738 5739 |
# File 'lib/models/porcelain.rb', line 5733 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 |