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.
7675 7676 7677 7678 7679 |
# File 'lib/models/porcelain.rb', line 7675 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
7673 7674 7675 |
# File 'lib/models/porcelain.rb', line 7673 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
7681 7682 7683 7684 7685 7686 7687 |
# File 'lib/models/porcelain.rb', line 7681 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 |