Class: SDM::IdentityAliasDeleteResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

IdentityAliasDeleteResponse returns information about a IdentityAlias that was deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meta: nil, rate_limit: nil) ⇒ IdentityAliasDeleteResponse

Returns a new instance of IdentityAliasDeleteResponse.



6407
6408
6409
6410
6411
6412
6413
# File 'lib/models/porcelain.rb', line 6407

def initialize(
  meta: nil,
  rate_limit: nil
)
  @meta = meta == nil ? nil : meta
  @rate_limit = rate_limit == nil ? nil : rate_limit
end

Instance Attribute Details

#metaObject

Reserved for future use.



6403
6404
6405
# File 'lib/models/porcelain.rb', line 6403

def meta
  @meta
end

#rate_limitObject

Rate limit information.



6405
6406
6407
# File 'lib/models/porcelain.rb', line 6405

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



6415
6416
6417
6418
6419
6420
6421
# File 'lib/models/porcelain.rb', line 6415

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end