def __init__(self, url, conn=None, user=None, password=None, verify=True,<EOL>proxies=None, collection_info=None):
super(Collection, self).__init__(url, conn, user, password, verify, proxies)<EOL>self._loaded = False<EOL>self.__raw = None<EOL>if collection_info:<EOL><INDENT>self._populate_fields(**collection_info)<EOL>self.__raw = collection_info<EOL>self._loaded = True<EOL><DEDENT>
Initialize a new Collection.  Either user/password or conn may be
given, but not both.  The latter is intended for internal use, when
sharing connection pools with an ApiRoot, mocking a connection for
testing, etc.  Users should use user/password (if required) which will
create a new connection.

Args:
    url (str): A TAXII endpoint for a collection
    user (str): User name for authentication (optional)
    password (str): Password for authentication (optional)
    verify (bool): Either a boolean, in which case it controls whether
        we verify the server's TLS certificate, or a string, in which
        case it must be a path to a CA bundle to use. Defaults to
        `True` (optional)
    conn (_HTTPConnection): A connection to reuse (optional)
    collection_info: Collection metadata, if known in advance (optional)
    verify (bool): validate the entity credentials. (default: True)
    proxies (dict): key/value pair for http/https proxy settings.
        (optional)