Class: SDM::RemoteIdentityUpdateResponse
- Inherits:
-
Object
- Object
- SDM::RemoteIdentityUpdateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RemoteIdentityUpdateResponse returns the fields of a RemoteIdentity after it has been updated by a RemoteIdentityUpdateRequest.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#remote_identity ⇒ Object
The updated RemoteIdentity.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityUpdateResponse
constructor
A new instance of RemoteIdentityUpdateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityUpdateResponse
Returns a new instance of RemoteIdentityUpdateResponse.
10467 10468 10469 10470 10471 10472 10473 10474 10475 |
# File 'lib/models/porcelain.rb', line 10467 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.
10461 10462 10463 |
# File 'lib/models/porcelain.rb', line 10461 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
10463 10464 10465 |
# File 'lib/models/porcelain.rb', line 10463 def rate_limit @rate_limit end |
#remote_identity ⇒ Object
The updated RemoteIdentity.
10465 10466 10467 |
# File 'lib/models/porcelain.rb', line 10465 def remote_identity @remote_identity end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10477 10478 10479 10480 10481 10482 10483 |
# File 'lib/models/porcelain.rb', line 10477 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 |