Method: NucleusApi::SecurityExclusion#to_hash

Defined in:
lib/nucleus_api/models/security_exclusion.rb

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



273
274
275
276
277
278
279
280
# File 'lib/nucleus_api/models/security_exclusion.rb', line 273

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    hash[param] = _to_hash(value)
  end
  hash
end