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.
8629 8630 8631 8632 8633 8634 8635 |
# File 'lib/models/porcelain.rb', line 8629 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.
8625 8626 8627 |
# File 'lib/models/porcelain.rb', line 8625 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
8627 8628 8629 |
# File 'lib/models/porcelain.rb', line 8627 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8637 8638 8639 8640 8641 8642 8643 |
# File 'lib/models/porcelain.rb', line 8637 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 |