How do I remove or disable a part of a clip?

I am working on an auto edit plugin, so I am looking for a functionality where I have inTime and outTime, and that part has to be trimmed out(without ripple).