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.
8655 8656 8657 8658 8659 |
# File 'lib/models/porcelain.rb', line 8655 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
8653 8654 8655 |
# File 'lib/models/porcelain.rb', line 8653 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8661 8662 8663 8664 8665 8666 8667 |
# File 'lib/models/porcelain.rb', line 8661 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 |