package com.kofax.kmc.klo.logistics.webservice; import com.kofax.kmc.klo.logistics.service.KofaxWebServiceConnectorService; import o.gmO; /* loaded from: classes3.dex */ public class DeviceServiceResponse implements KofaxWebServiceResponseBase { private String errorMessage; private int resultCode; private boolean retryOk; public static DeviceServiceResponse populateFromResponse(gmO gmo) { DeviceServiceResponse deviceServiceResponse = new DeviceServiceResponse(); deviceServiceResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null)); deviceServiceResponse.setResultCode(Integer.parseInt(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "resultCode", "-1"))); deviceServiceResponse.setRetryOk("true".equals(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "retryOk", "false"))); return deviceServiceResponse; } public void setRetryOk(boolean z) { this.retryOk = z; } public void setResultCode(int i) { this.resultCode = i; } public void setErrorMessage(String str) { this.errorMessage = str; } public boolean isRetryOk() { return this.retryOk; } public int getResultCode() { return this.resultCode; } public String getErrorMessage() { return this.errorMessage; } }