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.
6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 |
# File 'lib/models/porcelain.rb', line 6506 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.
6502 6503 6504 |
# File 'lib/models/porcelain.rb', line 6502 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
6504 6505 6506 |
# File 'lib/models/porcelain.rb', line 6504 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6518 6519 6520 6521 6522 6523 6524 |
# File 'lib/models/porcelain.rb', line 6518 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 |