hirezapi.Configuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HiRezApi-common Show documentation
Show all versions of HiRezApi-common Show documentation
Java-Based API Wrapper for Hi-Rez Studios games.
The newest version!
package hirezapi;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class Configuration {
private final Platform platform;
private final String devId;
private final String authKey;
public static Configuration of(final Platform platform,
final String devId,
final String authKey) {
return new Configuration(platform, devId, authKey);
}
}