src/main/java/org/edgegallery/appstore/interfaces/message/facade/dto/MessageRespDto.java
public static MessageRespDto of(Message message) {
        MessageRespDto dto = new MessageRespDto();
        dto.messageId = message.getMessageId();
        dto.messageType = message.getMessageType();
        dto.sourceAppStore = message.getSourceAppStore();
        dto.targetAppStore = message.getTargetAppStore();
        dto.time = message.getTime();
        dto.description = message.getDescription();
        dto.atpTestStatus = message.getAtpTestStatus();
        dto.atpTestTaskId = message.getAtpTestTaskId();
        dto.atpTestReportUrl = message.getAtpTestReportUrl();
        dto.basicInfo = message.getBasicInfo();
        dto.readed = message.isReaded();
        dto.iconDownloadUrl = message.getIconDownloadUrl();
        return dto;
    }
/**
     * transform message obj to response obj.
     *
     * @param message obj
     * @return dto obj
     */
transform message obj to response obj.
@param message obj
@return dto obj
transform message obj to response obj . @param message obj @return dto obj
public static MessageRespDto of(Message message) {
        MessageRespDto dto = new MessageRespDto();
        dto.messageId = message.getMessageId();
        dto.messageType = message.getMessageType();
        dto.sourceAppStore = message.getSourceAppStore();
        dto.targetAppStore = message.getTargetAppStore();
        dto.time = message.getTime();
        dto.description = message.getDescription();
        dto.atpTestStatus = message.getAtpTestStatus();
        dto.atpTestTaskId = message.getAtpTestTaskId();
        dto.atpTestReportUrl = message.getAtpTestReportUrl();
        dto.basicInfo = message.getBasicInfo();
        dto.readed = message.isReaded();
        dto.iconDownloadUrl = message.getIconDownloadUrl();
        return dto;
    }
public static MessageRespDto of ( Message message ) { MessageRespDto dto = new MessageRespDto ( ) ; dto . messageId = message . getMessageId ( ) ; dto . messageType = message . getMessageType ( ) ; dto . sourceAppStore = message . getSourceAppStore ( ) ; dto . targetAppStore = message . getTargetAppStore ( ) ; dto . time = message . getTime ( ) ; dto . description = message . getDescription ( ) ; dto . atpTestStatus = message . getAtpTestStatus ( ) ; dto . atpTestTaskId = message . getAtpTestTaskId ( ) ; dto . atpTestReportUrl = message . getAtpTestReportUrl ( ) ; dto . basicInfo = message . getBasicInfo ( ) ; dto . readed = message . isReaded ( ) ; dto . iconDownloadUrl = message . getIconDownloadUrl ( ) ; return dto ; }
transform message obj to response obj.
transform message obj to response obj .