Class: SDM::RoleGrantDeleteResponse
- Inherits:
-
Object
- Object
- SDM::RoleGrantDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
Deprecated: use Role access rules instead.
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.
5582 5583 5584 5585 5586 5587 5588 |
# File 'lib/models/porcelain.rb', line 5582 def initialize( meta: nil, rate_limit: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5578 5579 5580 |
# File 'lib/models/porcelain.rb', line 5578 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5580 5581 5582 |
# File 'lib/models/porcelain.rb', line 5580 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5590 5591 5592 5593 5594 5595 5596 |
# File 'lib/models/porcelain.rb', line 5590 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 |