Class: SDM::SecretStoreDeleteResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

SecretStoreDeleteResponse returns information about a SecretStore that was deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta: nil, rate_limit: nil) ⇒ SecretStoreDeleteResponse

Returns a new instance of SecretStoreDeleteResponse.



11581
11582
11583
11584
11585
11586
11587
# File 'lib/models/porcelain.rb', line 11581

def initialize(
  meta: nil,
  rate_limit: nil
)
  @meta = meta == nil ? nil : meta
  @rate_limit = rate_limit == nil ? nil : rate_limit
end

Instance Attribute Details

#metaObject

Reserved for future use.



11577
11578
11579
# File 'lib/models/porcelain.rb', line 11577

def meta
  @meta
end

#rate_limitObject

Rate limit information.



11579
11580
11581
# File 'lib/models/porcelain.rb', line 11579

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



11589
11590
11591
11592
11593
11594
11595
# File 'lib/models/porcelain.rb', line 11589

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end