Class: SDM::RemoteIdentityCreateResponse
- Inherits:
-
Object
- Object
- SDM::RemoteIdentityCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RemoteIdentityCreateResponse reports how the RemoteIdentities were created in the system.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#remote_identity ⇒ Object
The created RemoteIdentity.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityCreateResponse
constructor
A new instance of RemoteIdentityCreateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityCreateResponse
Returns a new instance of RemoteIdentityCreateResponse.
5547 5548 5549 5550 5551 5552 5553 5554 5555 |
# File 'lib/models/porcelain.rb', line 5547 def initialize( meta: nil, rate_limit: nil, remote_identity: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @remote_identity = remote_identity == nil ? nil : remote_identity end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
5541 5542 5543 |
# File 'lib/models/porcelain.rb', line 5541 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5543 5544 5545 |
# File 'lib/models/porcelain.rb', line 5543 def rate_limit @rate_limit end |
#remote_identity ⇒ Object
The created RemoteIdentity.
5545 5546 5547 |
# File 'lib/models/porcelain.rb', line 5545 def remote_identity @remote_identity end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5557 5558 5559 5560 5561 5562 5563 |
# File 'lib/models/porcelain.rb', line 5557 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 |