def content_types(self): """Gets the content types that are associated with the list.""" return self.properties.get( 'ContentTypes', ContentTypeCollection( self.context, ResourcePath("ContentTypes", self.resource_path), self))
def contentTypes(self): """Gets the content types that are associated with the list.""" if self.is_property_available('ContentTypes'): return self.properties['ContentTypes'] else: return ContentTypeCollection( self.context, ResourcePath("contenttypes", self.resource_path))
def content_types(self): """Gets the collection of content types for the Web site.""" if self.is_property_available('ContentTypes'): return self.properties['ContentTypes'] else: return ContentTypeCollection( self.context, ResourcePath("ContentTypes", self.resource_path))
def content_types(self): """Gets the collection of content types for the Web site.""" return self.properties.get( 'ContentTypes', ContentTypeCollection( self.context, ResourcePath("ContentTypes", self.resource_path)))