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.



6019
6020
6021
6022
6023
6024
6025
# File 'lib/models/porcelain.rb', line 6019

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.



6015
6016
6017
# File 'lib/models/porcelain.rb', line 6015

def meta
  @meta
end

#rate_limitObject

Rate limit information.



6017
6018
6019
# File 'lib/models/porcelain.rb', line 6017

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



6027
6028
6029
6030
6031
6032
6033
# File 'lib/models/porcelain.rb', line 6027

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