Class: SDM::AccountGroupListResponse
- Inherits:
-
Object
- Object
- SDM::AccountGroupListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
GroupListResponse returns a list of groups that meet the criteria of a GroupListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ AccountGroupListResponse
constructor
A new instance of AccountGroupListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ AccountGroupListResponse
Returns a new instance of AccountGroupListResponse.
1839 1840 1841 1842 1843 |
# File 'lib/models/porcelain.rb', line 1839 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
1837 1838 1839 |
# File 'lib/models/porcelain.rb', line 1837 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1845 1846 1847 1848 1849 1850 1851 |
# File 'lib/models/porcelain.rb', line 1845 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 |