Class: SDM::RemoteIdentityGetResponse
- Inherits:
-
Object
- Object
- SDM::RemoteIdentityGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
RemoteIdentityGetResponse returns a requested RemoteIdentity.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#remote_identity ⇒ Object
The requested RemoteIdentity.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityGetResponse
constructor
A new instance of RemoteIdentityGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, remote_identity: nil) ⇒ RemoteIdentityGetResponse
13964 13965 13966 13967 13968 13969 13970 13971 13972 |
# File 'lib/models/porcelain.rb', line 13964 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.
13958 13959 13960 |
# File 'lib/models/porcelain.rb', line 13958 def end |
#rate_limit ⇒ Object
Rate limit information.
13960 13961 13962 |
# File 'lib/models/porcelain.rb', line 13960 def rate_limit @rate_limit end |
#remote_identity ⇒ Object
The requested RemoteIdentity.
13962 13963 13964 |
# File 'lib/models/porcelain.rb', line 13962 def remote_identity @remote_identity end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13974 13975 13976 13977 13978 13979 13980 |
# File 'lib/models/porcelain.rb', line 13974 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 |