Class: SDM::GroupRoleListResponse
- Inherits:
-
Object
- Object
- SDM::GroupRoleListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
GroupRoleListResponse returns a list of group roles that meet the criteria of a GroupRoleListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ GroupRoleListResponse
constructor
A new instance of GroupRoleListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ GroupRoleListResponse
Returns a new instance of GroupRoleListResponse.
7767 7768 7769 7770 7771 |
# File 'lib/models/porcelain.rb', line 7767 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
7765 7766 7767 |
# File 'lib/models/porcelain.rb', line 7765 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
7773 7774 7775 7776 7777 7778 7779 |
# File 'lib/models/porcelain.rb', line 7773 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 |