All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spotinst.sdkjava.model.ApiEventsLogsConverter Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model;

/**
 * Created by daniel on 09/05/2021.
 */
public class ApiEventsLogsConverter {

    static EventLog dalToBl(ApiEventLog apiEventLog) {
        EventLog retVal = new EventLog();
        retVal.setCode(apiEventLog.getCode());
        retVal.setMessage(apiEventLog.getMessage());
        retVal.setSeverity(apiEventLog.getSeverity());
        retVal.setCreatedAt(apiEventLog.getCreatedAt());
        retVal.setLink(apiEventLog.getLink());
        return retVal;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy