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.



11564
11565
11566
11567
11568
11569
11570
# File 'lib/models/porcelain.rb', line 11564

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.



11560
11561
11562
# File 'lib/models/porcelain.rb', line 11560

def meta
  @meta
end

#rate_limitObject

Rate limit information.



11562
11563
11564
# File 'lib/models/porcelain.rb', line 11562

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



11572
11573
11574
11575
11576
11577
11578
# File 'lib/models/porcelain.rb', line 11572

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