def note=(note)

      if !note.nil? && note.to_s.length > 60
        fail ArgumentError, "invalid value for 'note', the character length must be smaller than or equal to 60."
      end

      @note = note
    end
def note=(note)

      if !note.nil? && note.to_s.length > 60
        fail ArgumentError, "invalid value for 'note', the character length must be smaller than or equal to 60."
      end

      @note = note
    end
Custom attribute writer method with validation
 @param [Object] note Value to be assigned