contract/lib/BeanFileMessage.js
/**
     * Creates a new prototype of BeanFileMessage receiving parameters.
     * @param {BeanFileMessage} fileMessage A kind of BeanFileMessage configured with values.
     */
Creates a new prototype of BeanFileMessage receiving parameters.
@param {BeanFileMessage} fileMessage A kind of BeanFileMessage configured with values.
Creates a new prototype of BeanFileMessage receiving parameters . @param { BeanFileMessage } fileMessage A kind of BeanFileMessage configured with values .
static createBeanFileMessage(fileMessage){
        let newInstance = new BeanFileMessage();
        newInstance.setFileName(fileMessage.fileName);
        newInstance.setFileType(fileMessage.fileType);
        newInstance.setFileExtName(fileMessage.fileExtName);
        newInstance.setFileSize(fileMessage.fileSize);
        newInstance.setHashSigned(fileMessage.hashSigned);
        newInstance.setMessage(fileMessage.message);
        newInstance.setTransportType(fileMessage.transportType);
        return newInstance;
    }
static createBeanFileMessage ( fileMessage ) { let newInstance = new BeanFileMessage ( ) ; newInstance . setFileName ( fileMessage . fileName ) ; newInstance . setFileType ( fileMessage . fileType ) ; newInstance . setFileExtName ( fileMessage . fileExtName ) ; newInstance . setFileSize ( fileMessage . fileSize ) ; newInstance . setHashSigned ( fileMessage . hashSigned ) ; newInstance . setMessage ( fileMessage . message ) ; newInstance . setTransportType ( fileMessage . transportType ) ; return newInstance ; }
Creates a new prototype of BeanFileMessage receiving parameters.
Creates a new prototype of BeanFileMessage receiving parameters .