"""Model representing objects that already exist in target panel"""

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_target_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='target'
)
