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.
8581 8582 8583 8584 8585 |
# File 'lib/models/porcelain.rb', line 8581 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
8579 8580 8581 |
# File 'lib/models/porcelain.rb', line 8579 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8587 8588 8589 8590 8591 8592 8593 |
# File 'lib/models/porcelain.rb', line 8587 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 |