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.
6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 |
# File 'lib/models/porcelain.rb', line 6952 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.
6946 6947 6948 |
# File 'lib/models/porcelain.rb', line 6946 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
6950 6951 6952 |
# File 'lib/models/porcelain.rb', line 6950 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The updated SecretStore.
6948 6949 6950 |
# File 'lib/models/porcelain.rb', line 6948 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6968 6969 6970 6971 6972 6973 6974 |
# File 'lib/models/porcelain.rb', line 6968 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 |