Class: SDM::AccountGroupDeleteResponse
- Inherits:
-
Object
- Object
- SDM::AccountGroupDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
GroupDeleteResponse returns information about an AccountGroup that was deleted.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil) ⇒ AccountGroupDeleteResponse
constructor
A new instance of AccountGroupDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ AccountGroupDeleteResponse
Returns a new instance of AccountGroupDeleteResponse.
1660 1661 1662 1663 1664 1665 1666 |
# File 'lib/models/porcelain.rb', line 1660 def initialize( meta: nil, rate_limit: nil ) = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
1656 1657 1658 |
# File 'lib/models/porcelain.rb', line 1656 def end |
#rate_limit ⇒ Object
Rate limit information.
1658 1659 1660 |
# File 'lib/models/porcelain.rb', line 1658 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1668 1669 1670 1671 1672 1673 1674 |
# File 'lib/models/porcelain.rb', line 1668 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 |