com.capitalone.dashboard.request.TemplateRequest Maven / Gradle / Ivy
package com.capitalone.dashboard.request;
import com.capitalone.dashboard.model.Service;
import com.capitalone.dashboard.model.ServiceStatus;
public class TemplateRequest extends BaseRequest {
private ServiceStatus status;
private String message;
public ServiceStatus getStatus() {
return status;
}
public void setStatus(ServiceStatus status) {
this.status = status;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Service update(Service service) {
service.setStatus(status);
service.setMessage(message);
return service;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy