Kufar v3.2.0版本的 MD5 值为:6a4d203db1c561c7e3bcd50d23fed59f
以下内容为反编译后的 ReportEvent.java 源代码,内容仅作参考
package com.schibsted.shared.events.schema.events;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.schibsted.shared.events.schema.objects.Actor;
import com.schibsted.shared.events.schema.objects.Provider;
import com.schibsted.shared.events.schema.objects.SchemaObjectWithType;
import com.schibsted.shared.events.schema.objects.SchemaObjectWithoutType;
import com.schibsted.shared.events.schema.objects.TypedContent;
import d00.c;
import java.util.List;
import java.util.Set;
public class ReportEvent extends BaseRoutableEvent {
public String clientProviderId;
public String event;
public Intent intent;
public ReportEventContent object;
public ReportEventOrigin origin;
@c("@type")
public String type;
public enum EntityType {
DataSet,
SDK,
System
}
public enum Intent {
Accept,
Confirm,
Create,
Delete,
Open,
Close,
Hide,
Play,
Pause,
Share,
Favorite,
Recommend,
Save,
Send,
Update,
Dismiss
}
public static class ReportEventContent extends SchemaObjectWithType {
public List<TypedContent> details;
@c("@id")
public String f52382id;
public String name;
public Set<String> tags;
public ReportEventContent(@NonNull String str, @NonNull ReporterType reporterType, @NonNull String str2, @NonNull ReportLevelType reportLevelType, @NonNull String str3, @Nullable Set<String> set, @Nullable List<TypedContent> list) {
this.f52382id = SchemaObjectWithoutType.buildSdrnId(str, reporterType.toString(), str2);
this.atType = reportLevelType.toString();
this.name = str3;
this.tags = set;
this.details = list;
}
}
public static class ReportEventOrigin extends SchemaObjectWithType {
public String f52383id;
public String name;
public ReportEventOrigin(@NonNull String str, @NonNull EntityType entityType, @Nullable String str2) {
this.f52383id = str;
this.atType = entityType.toString();
this.name = str2;
}
}
public enum ReportLevelType {
Debug,
Informational,
Notice,
Warning,
Error,
Critical,
Alert,
Emergency
}
public enum ReportType {
Automatic,
Manual
}
public enum ReporterType {
database,
dataset,
endpoint,
person
}
public ReportEvent(@NonNull ReportType reportType, @NonNull Actor actor, @NonNull String str, @NonNull ReportEventOrigin reportEventOrigin, @NonNull Provider provider, @Nullable ReportEventContent reportEventContent, @Nullable String str2) {
super(provider);
this.schema = "http://schema.schibsted.com/events/report-event.json/49.json";
this.type = reportType.toString();
this.actor = actor;
this.clientProviderId = str;
this.origin = reportEventOrigin;
this.provider = provider;
this.event = str2;
this.object = reportEventContent;
}
}