from parallels.core import messages
messages.MODEL_REPRESENTING_OBJECTS_THAT_ALREADY_EXIST

from collections import namedtuple
from parallels.core.utils.yaml_utils import pretty_yaml

ExistingObjectsModel = pretty_yaml(
	namedtuple('ExistingObjectsModel', (
		'resellers', 'customers', 'service_templates', 'addon_service_templates',
		'raw_ppa_subscriptions', 'webspaces',
		'auxiliary_user_roles', 'auxiliary_users', 'plesk_subscriptions', 'plesk_sites',
		'plesk_site_aliases', 'plesk_subdomains',
		'ip_addresses'  # list of IP addresses on target server, list[parallels.core.utils.plesk_utils.IPAddressInfo]
	)), 
	prefix='ppa'
)
