Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 a.java 源代码,内容仅作参考
package eg;
import com.google.gson.Gson;
import ng.h;
public class a implements ug.d {
@ie.c("org_id")
private String f51983b;
@ie.c("deployment_id")
private String f51984c;
@ie.c("Availability.ids")
private String f51985d;
@ie.c("Availability.needEstimatedWaitTime")
private int f51986e;
public a(String str, String str2, String str3, boolean z15) {
this.f51983b = str;
this.f51984c = str2;
this.f51985d = str3;
this.f51986e = z15 ? 1 : 0;
}
@Override
public String a(Gson gson) {
return gson.x(this);
}
@Override
public h b(String str, Gson gson, int i15) {
return ng.d.d().a(c(str)).b("Accept", "application/json; charset=utf-8").b("x-liveagent-api-version", "43").get().build();
}
@Override
public String c(String str) {
return String.format("https://%s/chat/rest/%s?org_id=%s&deployment_id=%s&Availability.ids=%s&Availability.needEstimatedWaitTime=%s", nh.a.c(str, "LiveAgent Pod must not be null"), "Visitor/Availability", this.f51983b, this.f51984c, this.f51985d, Integer.valueOf(this.f51986e));
}
}