Class: SDM::RemoteIdentityDeleteResponse
- Inherits:
-
Object
- Object
- SDM::RemoteIdentityDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RemoteIdentityDeleteResponse returns information about a RemoteIdentity 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) ⇒ RemoteIdentityDeleteResponse
constructor
A new instance of RemoteIdentityDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ RemoteIdentityDeleteResponse
Returns a new instance of RemoteIdentityDeleteResponse.
5348 5349 5350 5351 5352 5353 5354 |
# File 'lib/models/porcelain.rb', line 5348 def initialize( meta: nil, rate_limit: nil ) = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5344 5345 5346 |
# File 'lib/models/porcelain.rb', line 5344 def end |
#rate_limit ⇒ Object
Rate limit information.
5346 5347 5348 |
# File 'lib/models/porcelain.rb', line 5346 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5356 5357 5358 5359 5360 5361 5362 |
# File 'lib/models/porcelain.rb', line 5356 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 |