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.
8160 8161 8162 8163 8164 |
# File 'lib/models/porcelain.rb', line 8160 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
8158 8159 8160 |
# File 'lib/models/porcelain.rb', line 8158 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8166 8167 8168 8169 8170 8171 8172 |
# File 'lib/models/porcelain.rb', line 8166 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 |