class Attio::Note

def initialize(attributes = {}, opts = {})

def initialize(attributes = {}, opts = {})
  super
  normalized_attrs = normalize_attributes(attributes)
  @parent_object = normalized_attrs[:parent_object]
  @parent_record_id = normalized_attrs[:parent_record_id]
  @title = normalized_attrs[:title]
  @content_plaintext = normalized_attrs[:content_plaintext]
  @content_markdown = normalized_attrs[:content_markdown]
  @tags = normalized_attrs[:tags] || []
  @metadata = normalized_attrs[:metadata] || {}
  @format = normalized_attrs[:format] || "plaintext"
  @created_by_actor = normalized_attrs[:created_by_actor]
end