<s> '''<STR_LIT>''' <EOL> from FileApiBase import FileApiBase <EOL> class SmartlingFileApi ( FileApiBase ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , host , apiKey , projectId , proxySettings = None ) : <EOL> FileApiBase . __init__ ( self , host , apiKey , projectId , proxySettings ) <EOL> def upload ( self , uploadData ) : <EOL> """<STR_LIT>""" <EOL> return self . commandUpload ( uploadData ) <EOL> def list ( self , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandList ( ** kw ) <EOL> def get ( self , fileUri , locale , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandGet ( fileUri , locale , ** kw ) <EOL> def status ( self , fileUri , locale , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandStatus ( fileUri , locale , ** kw ) <EOL> def rename ( self , fileUri , newUri , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandRename ( fileUri , newUri , ** kw ) <EOL> def delete ( self , fileUri , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandDelete ( fileUri , ** kw ) <EOL> def import_call ( self , uploadData , locale , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandImport ( uploadData , locale , ** kw ) <EOL> def last_modified ( self , fileUri , locale = None , ** kw ) : <EOL> """<STR_LIT>""" <EOL> return self . commandLastModified ( fileUri , ** kw ) <EOL> class SmartlingFileApiFactory : <EOL> """<STR_LIT>""" <EOL> api_host = '<STR_LIT>' <EOL> def getSmartlingTranslationApi ( self , apiKey , projectId , proxySettings = None ) : <EOL> return SmartlingFileApi ( self . api_host , apiKey , projectId , proxySettings ) <EOL> class ProxySettings : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , username , passwd , host , port ) : <EOL> self . username = username <EOL> self . passwd = passwd <EOL> self . host = host <EOL> self . port = port </s>
