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

47 lines
1.6 KiB
Java
Raw 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 DeviceProfileResponse implements KofaxWebServiceResponseBase {
private String errorMessage;
private List<WscDestination> profileShortCuts = new ArrayList();
public void addPersonalShortCut(WscDestination wscDestination) {
this.profileShortCuts.add(wscDestination);
}
public static DeviceProfileResponse populateFromResponse(gmO gmo) {
DeviceProfileResponse deviceProfileResponse = new DeviceProfileResponse();
deviceProfileResponse.setErrorMessage(KofaxWebServiceConnectorService.getVerySafeSoapProperty(gmo, "errorMessage", null));
for (int i = 0; i < gmo.getPropertyCount(); i++) {
C15281gmQ c15281gmQ = new C15281gmQ();
gmo.a(i, c15281gmQ);
if (c15281gmQ.c() != null && c15281gmQ.m.equals("shortcuts")) {
deviceProfileResponse.addPersonalShortCut(WscDestination.populateFromResponse((gmO) c15281gmQ.c()));
}
}
return deviceProfileResponse;
}
public void setProfileShortCuts(List<WscDestination> list) {
this.profileShortCuts = list;
}
public void setErrorMessage(String str) {
this.errorMessage = str;
}
public List<WscDestination> getProfileShortCuts() {
return this.profileShortCuts;
}
public String getErrorMessage() {
return this.errorMessage;
}
}