Method: OpsgenieSdk::LabTechEmailIntegration#to_hash

Defined in:
lib/opsgenie_sdk/models/lab_tech_email_integration.rb

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



258
259
260
261
262
263
264
265
266
# File 'lib/opsgenie_sdk/models/lab_tech_email_integration.rb', line 258

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