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.
11052 11053 11054 11055 11056 11057 11058 11059 11060 |
# File 'lib/models/porcelain.rb', line 11052 def initialize( meta: nil, rate_limit: nil, remote_identity: nil ) = == 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.
11046 11047 11048 |
# File 'lib/models/porcelain.rb', line 11046 def end |
#rate_limit ⇒ Object
Rate limit information.
11048 11049 11050 |
# File 'lib/models/porcelain.rb', line 11048 def rate_limit @rate_limit end |
#remote_identity ⇒ Object
The updated RemoteIdentity.
11050 11051 11052 |
# File 'lib/models/porcelain.rb', line 11050 def remote_identity @remote_identity end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11062 11063 11064 11065 11066 11067 11068 |
# File 'lib/models/porcelain.rb', line 11062 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 |