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.
4988 4989 4990 4991 4992 4993 4994 |
# File 'lib/models/porcelain.rb', line 4988 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.
4984 4985 4986 |
# File 'lib/models/porcelain.rb', line 4984 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
4986 4987 4988 |
# File 'lib/models/porcelain.rb', line 4986 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4996 4997 4998 4999 5000 5001 5002 |
# File 'lib/models/porcelain.rb', line 4996 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 |