Class: SDM::IdentitySetDeleteResponse

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

Overview

IdentitySetDeleteResponse returns information about a IdentitySet that was deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of IdentitySetDeleteResponse.



6576
6577
6578
6579
6580
6581
6582
# File 'lib/models/porcelain.rb', line 6576

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.



6572
6573
6574
# File 'lib/models/porcelain.rb', line 6572

def meta
  @meta
end

#rate_limitObject

Rate limit information.



6574
6575
6576
# File 'lib/models/porcelain.rb', line 6574

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



6584
6585
6586
6587
6588
6589
6590
# File 'lib/models/porcelain.rb', line 6584

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