class Attio::Comment

def to_h

def to_h
  {
    id: id,
    thread_id: thread_id,
    content_plaintext: content_plaintext,
    entry: entry,
    record: record,
    resolved_at: resolved_at&.iso8601,
    resolved_by: resolved_by,
    created_at: created_at&.iso8601,
    author: author
  }.compact
end