package com.ifpdos.autotest.model;

import com.ifpdos.autotest.lancontrol.module.base.c;

/* JADX INFO: loaded from: classes.dex */
public class RequestSession {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private RequestType f2230a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private String f2231b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private c f2232c;

    public enum RequestType {
        SDK_SEND,
        SDK_POST,
        OTHER
    }

    public RequestSession(RequestType requestType, String str, c cVar) {
        this.f2230a = requestType;
        this.f2231b = str;
        this.f2232c = cVar;
    }

    public String getRequest() {
        return this.f2231b;
    }

    public RequestType getRequestType() {
        return this.f2230a;
    }

    public void response(String str) {
        c cVar = this.f2232c;
        if (cVar != null) {
            cVar.a(str);
        }
    }

    public void setRepsonseProcessor(c cVar) {
        this.f2232c = cVar;
    }

    public String toString() {
        return "RequestSession: RequestType=" + this.f2230a + ", Request=" + this.f2231b;
    }
}
