@classmethod<EOL><INDENT>def _auto_client_files(cls, client, ca_path=None, ca_contents=None, cert_path=None,<EOL>cert_contents=None, key_path=None, key_contents=None):<DEDENT>
files = []<EOL>if ca_path and ca_contents:<EOL><INDENT>client['<STR_LIT>'] = ca_path<EOL>files.append(dict(path=ca_path,<EOL>contents=ca_contents,<EOL>mode=DEFAULT_FILE_MODE))<EOL><DEDENT>if cert_path and cert_contents:<EOL><INDENT>client['<STR_LIT>'] = cert_path<EOL>files.append(dict(path=cert_path,<EOL>contents=cert_contents,<EOL>mode=DEFAULT_FILE_MODE))<EOL><DEDENT>if key_path and key_contents:<EOL><INDENT>client['<STR_LIT:key>'] = key_path<EOL>files.append(dict(path=key_path,<EOL>contents=key_contents,<EOL>mode=DEFAULT_FILE_MODE,))<EOL><DEDENT>return files<EOL>
returns a list of NetJSON extra files for automatically generated clients
produces side effects in ``client`` dictionary