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.
4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 |
# File 'lib/models/porcelain.rb', line 4204 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.
4200 4201 4202 |
# File 'lib/models/porcelain.rb', line 4200 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
4202 4203 4204 |
# File 'lib/models/porcelain.rb', line 4202 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4216 4217 4218 4219 4220 4221 4222 |
# File 'lib/models/porcelain.rb', line 4216 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 |