def __init__(self, authority=None, content=None, default_port=None, file=None, host=None, path=None, port=None, protocol=None, query=None, ref=None, user_info=None):
    'URL - a model defined in Swagger'
    self._authority = None
    self._content = None
    self._default_port = None
    self._file = None
    self._host = None
    self._path = None
    self._port = None
    self._protocol = None
    self._query = None
    self._ref = None
    self._user_info = None
    self.discriminator = None
    if (authority is not None):
        self.authority = authority
    if (content is not None):
        self.content = content
    if (default_port is not None):
        self.default_port = default_port
    if (file is not None):
        self.file = file
    if (host is not None):
        self.host = host
    if (path is not None):
        self.path = path
    if (port is not None):
        self.port = port
    if (protocol is not None):
        self.protocol = protocol
    if (query is not None):
        self.query = query
    if (ref is not None):
        self.ref = ref
    if (user_info is not None):
        self.user_info = user_info
URL - a model defined in Swagger
def __init__(self, authority=None, content=None, default_port=None, file=None, host=None, path=None, port=None, protocol=None, query=None, ref=None, user_info=None):
    
    self._authority = None
    self._content = None
    self._default_port = None
    self._file = None
    self._host = None
    self._path = None
    self._port = None
    self._protocol = None
    self._query = None
    self._ref = None
    self._user_info = None
    self.discriminator = None
    if (authority is not None):
        self.authority = authority
    if (content is not None):
        self.content = content
    if (default_port is not None):
        self.default_port = default_port
    if (file is not None):
        self.file = file
    if (host is not None):
        self.host = host
    if (path is not None):
        self.path = path
    if (port is not None):
        self.port = port
    if (protocol is not None):
        self.protocol = protocol
    if (query is not None):
        self.query = query
    if (ref is not None):
        self.ref = ref
    if (user_info is not None):
        self.user_info = user_info