class SDM::RoleGrantGetResponse
RoleGrantGetResponse
returns a requested RoleGrant
.
Attributes
meta[RW]
Reserved for future use.
rate_limit[RW]
Rate limit information.
role_grant[RW]
The requested RoleGrant
.
Public Class Methods
new( meta:nil \ , role_grant:nil \ , rate_limit:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 5577 def initialize( meta:nil \ , role_grant:nil \ , rate_limit:nil \ ) if meta != nil @meta = meta end if role_grant != nil @role_grant = role_grant end if rate_limit != nil @rate_limit = rate_limit end end
Public Instance Methods
to_json(options={})
click to toggle source
# File lib/models/porcelain.rb, line 5594 def to_json(options={}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix('@')] = self.instance_variable_get var end hash.to_json end