Class: SDM::IdentitySetGetResponse
- Inherits:
-
Object
- Object
- SDM::IdentitySetGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
IdentitySetGetResponse returns a requested IdentitySet.
Instance Attribute Summary collapse
-
#identity_set ⇒ Object
The requested IdentitySet.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(identity_set: nil, meta: nil, rate_limit: nil) ⇒ IdentitySetGetResponse
constructor
A new instance of IdentitySetGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(identity_set: nil, meta: nil, rate_limit: nil) ⇒ IdentitySetGetResponse
Returns a new instance of IdentitySetGetResponse.
9361 9362 9363 9364 9365 9366 9367 9368 9369 |
# File 'lib/models/porcelain.rb', line 9361 def initialize( identity_set: nil, meta: nil, rate_limit: nil ) @identity_set = identity_set == nil ? nil : identity_set @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#identity_set ⇒ Object
The requested IdentitySet.
9355 9356 9357 |
# File 'lib/models/porcelain.rb', line 9355 def identity_set @identity_set end |
#meta ⇒ Object
Reserved for future use.
9357 9358 9359 |
# File 'lib/models/porcelain.rb', line 9357 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
9359 9360 9361 |
# File 'lib/models/porcelain.rb', line 9359 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
9371 9372 9373 9374 9375 9376 9377 |
# File 'lib/models/porcelain.rb', line 9371 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 |