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.
10830 10831 10832 10833 10834 10835 10836 10837 10838 |
# File 'lib/models/porcelain.rb', line 10830 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.
10824 10825 10826 |
# File 'lib/models/porcelain.rb', line 10824 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
10826 10827 10828 |
# File 'lib/models/porcelain.rb', line 10826 def rate_limit @rate_limit end |
#remote_identity ⇒ Object
The updated RemoteIdentity.
10828 10829 10830 |
# File 'lib/models/porcelain.rb', line 10828 def remote_identity @remote_identity end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10840 10841 10842 10843 10844 10845 10846 |
# File 'lib/models/porcelain.rb', line 10840 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 |