com.flagsense.request.VariantsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Java SDK for consuming flagsense services
package com.flagsense.request;
import com.flagsense.enums.Environment;
import java.util.concurrent.ConcurrentMap;
public class VariantsRequest {
private String machineId;
private String sdkType;
private Environment environment;
private ConcurrentMap> data;
private ConcurrentMap errors;
private Long time;
public VariantsRequest(String machineId, Environment environment, ConcurrentMap> data, ConcurrentMap errors, Long time) {
this.machineId = machineId;
this.sdkType = "java";
this.environment = environment;
this.data = data;
this.errors = errors;
this.time = time;
}
public String getMachineId() {
return machineId;
}
public String getSdkType() {
return sdkType;
}
public Environment getEnvironment() {
return environment;
}
public ConcurrentMap> getData() {
return data;
}
public void setData(ConcurrentMap> data) {
this.data = data;
}
public ConcurrentMap getErrors() {
return errors;
}
public void setErrors(ConcurrentMap errors) {
this.errors = errors;
}
public Long getTime() {
return time;
}
public void setTime(Long time) {
this.time = time;
}
}