what-the-bank/sources/com/kofax/kmc/klo/logistics/webservice/GetIndexFieldsResponse.java

63 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.kmc.klo.logistics.webservice;
import com.kofax.kmc.klo.logistics.service.KofaxWebServiceConnectorService;
import java.util.ArrayList;
import java.util.List;
import o.C15281gmQ;
import o.gmO;
/* loaded from: classes3.dex */
public class GetIndexFieldsResponse implements KofaxWebServiceResponseBase {
private String errorMessage;
private List<WscIndexField> indexFields = new ArrayList();
private int resultCode;
private String wscClientIp;
public static KofaxWebServiceResponseBase populateFromResponse(gmO gmo) {
GetIndexFieldsResponse getIndexFieldsResponse = new GetIndexFieldsResponse();
getIndexFieldsResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null));
getIndexFieldsResponse.setResultCode(Integer.parseInt(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "resultCode", "-1")));
getIndexFieldsResponse.setWscClientIp(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "wscClientIp", null));
for (int i = 0; i < gmo.getPropertyCount(); i++) {
C15281gmQ c15281gmQ = new C15281gmQ();
gmo.a(i, c15281gmQ);
if (c15281gmQ.c() != null && c15281gmQ.m.equals("indexFields")) {
getIndexFieldsResponse.indexFields.add(WscIndexField.populateFromResponse((gmO) c15281gmQ.c()));
}
}
return getIndexFieldsResponse;
}
public void setWscClientIp(String str) {
this.wscClientIp = str;
}
public void setResultCode(int i) {
this.resultCode = i;
}
public void setIndexFields(List<WscIndexField> list) {
this.indexFields = list;
}
public void setErrorMessage(String str) {
this.errorMessage = str;
}
public String getWscClientIp() {
return this.wscClientIp;
}
public int getResultCode() {
return this.resultCode;
}
public List<WscIndexField> getIndexFields() {
return this.indexFields;
}
public String getErrorMessage() {
return this.errorMessage;
}
}