I've updated my codebase from 1.7 to 1.8 but I'm having trouble building my custom module. The problem is I was setting the ItemContentType on the ContainerPart via code however ItemContentType is no longer there. I'm guessing this could be handled via
RestrictedItemContentTypes in the ContainerTypePartSettings but what format is used for that?

"ContainerPart.ItemContentType" has been refactored to "ContainerPart.ItemContentTypes", and now returns and accepts an enumerable of "ContentTypeDefinition" objects. This enables you to have the list accept more than just
one type of item.