47 lines
1.6 KiB
Java
47 lines
1.6 KiB
Java
|
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;
|
||
|
}
|
||
|
}
|