Class: SDM::RoleGrantDeleteResponse
- Inherits:
-
Object
- Object
- SDM::RoleGrantDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil) ⇒ RoleGrantDeleteResponse
constructor
A new instance of RoleGrantDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ RoleGrantDeleteResponse
Returns a new instance of RoleGrantDeleteResponse.
5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 |
# File 'lib/models/porcelain.rb', line 5243 def initialize( meta: nil, rate_limit: nil ) if != nil @meta = end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5239 5240 5241 |
# File 'lib/models/porcelain.rb', line 5239 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5241 5242 5243 |
# File 'lib/models/porcelain.rb', line 5241 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5255 5256 5257 5258 5259 5260 5261 |
# File 'lib/models/porcelain.rb', line 5255 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 |