Skip to content

Commit

Permalink
Merge pull request #26 from fingerprintjs/fix-model-formatting
Browse files Browse the repository at this point in the history
Fix model template to fix formatting
  • Loading branch information
ilfa committed Jan 12, 2024
2 parents 7048436 + 1d3973b commit f97cc09
Show file tree
Hide file tree
Showing 80 changed files with 80 additions and 80 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/ASN.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class ASN {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public ASN() {
public ASN() {
}

public ASN asn(String asn) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static ResultEnum fromValue(String value) {
public static final String JSON_PROPERTY_TYPE = "type";
private String type;

public BotdDetectionResult() {
public BotdDetectionResult() {
}

public BotdDetectionResult result(ResultEnum result) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/BotdResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class BotdResult {
public static final String JSON_PROPERTY_BOT = "bot";
private BotdDetectionResult bot;

public BotdResult() {
public BotdResult() {
}

public BotdResult ip(String ip) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/BrowserDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class BrowserDetails {
public static final String JSON_PROPERTY_BOT_PROBABILITY = "botProbability";
private Integer botProbability;

public BrowserDetails() {
public BrowserDetails() {
}

public BrowserDetails browserName(String browserName) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/Confidence.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Confidence {
public static final String JSON_PROPERTY_SCORE = "score";
private Float score;

public Confidence() {
public Confidence() {
}

public Confidence score(Float score) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/DataCenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class DataCenter {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public DataCenter() {
public DataCenter() {
}

public DataCenter result(Boolean result) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/Error.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class Error {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;

public Error() {
public Error() {
}

public Error name(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ErrorEvent403Response {
public static final String JSON_PROPERTY_ERROR = "error";
private ErrorEvent403ResponseError error;

public ErrorEvent403Response() {
public ErrorEvent403Response() {
}

public ErrorEvent403Response error(ErrorEvent403ResponseError error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static CodeEnum fromValue(String value) {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;

public ErrorEvent403ResponseError() {
public ErrorEvent403ResponseError() {
}

public ErrorEvent403ResponseError code(CodeEnum code) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ErrorEvent404Response {
public static final String JSON_PROPERTY_ERROR = "error";
private ErrorEvent404ResponseError error;

public ErrorEvent404Response() {
public ErrorEvent404Response() {
}

public ErrorEvent404Response error(ErrorEvent404ResponseError error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static CodeEnum fromValue(String value) {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;

public ErrorEvent404ResponseError() {
public ErrorEvent404ResponseError() {
}

public ErrorEvent404ResponseError code(CodeEnum code) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/ErrorVisits403.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ErrorVisits403 {
public static final String JSON_PROPERTY_ERROR = "error";
private String error;

public ErrorVisits403() {
public ErrorVisits403() {
}

public ErrorVisits403 error(String error) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/EventResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class EventResponse {
public static final String JSON_PROPERTY_PRODUCTS = "products";
private ProductsResponse products;

public EventResponse() {
public EventResponse() {
}

public EventResponse products(ProductsResponse products) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class HighActivityResult {
public static final String JSON_PROPERTY_DAILY_REQUESTS = "dailyRequests";
private BigDecimal dailyRequests;

public HighActivityResult() {
public HighActivityResult() {
}

public HighActivityResult result(Boolean result) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IPLocation.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class IPLocation {
public static final String JSON_PROPERTY_SUBDIVISIONS = "subdivisions";
private List<Subdivision> subdivisions = null;

public IPLocation() {
public IPLocation() {
}

public IPLocation accuracyRadius(Integer accuracyRadius) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IPLocationCity.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class IPLocationCity {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public IPLocationCity() {
public IPLocationCity() {
}

public IPLocationCity name(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static CodeEnum fromValue(String value) {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;

public IdentificationError() {
public IdentificationError() {
}

public IdentificationError code(CodeEnum code) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IpBlockListResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class IpBlockListResult {
public static final String JSON_PROPERTY_DETAILS = "details";
private IpBlockListResultDetails details;

public IpBlockListResult() {
public IpBlockListResult() {
}

public IpBlockListResult result(Boolean result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class IpBlockListResultDetails {
public static final String JSON_PROPERTY_ATTACK_SOURCE = "attackSource";
private Boolean attackSource;

public IpBlockListResultDetails() {
public IpBlockListResultDetails() {
}

public IpBlockListResultDetails emailSpam(Boolean emailSpam) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IpInfoResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class IpInfoResult {
public static final String JSON_PROPERTY_V6 = "v6";
private IpInfoResultV6 v6;

public IpInfoResult() {
public IpInfoResult() {
}

public IpInfoResult v4(IpInfoResultV4 v4) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IpInfoResultV4.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class IpInfoResultV4 {
public static final String JSON_PROPERTY_DATACENTER = "datacenter";
private DataCenter datacenter;

public IpInfoResultV4() {
public IpInfoResultV4() {
}

public IpInfoResultV4 address(String address) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/IpInfoResultV6.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class IpInfoResultV6 {
public static final String JSON_PROPERTY_DATACENTER = "datacenter";
private DataCenter datacenter;

public IpInfoResultV6() {
public IpInfoResultV6() {
}

public IpInfoResultV6 address(String address) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/Location.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class Location {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public Location() {
public Location() {
}

public Location code(String code) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class LocationSpoofingResult {
public static final String JSON_PROPERTY_RESULT = "result";
private Boolean result;

public LocationSpoofingResult() {
public LocationSpoofingResult() {
}

public LocationSpoofingResult result(Boolean result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ManyRequestsResponse {
public static final String JSON_PROPERTY_ERROR = "error";
private String error;

public ManyRequestsResponse() {
public ManyRequestsResponse() {
}

public ManyRequestsResponse error(String error) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/ProductError.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static CodeEnum fromValue(String value) {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;

public ProductError() {
public ProductError() {
}

public ProductError code(CodeEnum code) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/ProductsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public class ProductsResponse {
public static final String JSON_PROPERTY_RAW_DEVICE_ATTRIBUTES = "rawDeviceAttributes";
private SignalResponseRawDeviceAttributes rawDeviceAttributes;

public ProductsResponse() {
public ProductsResponse() {
}

public ProductsResponse identification(ProductsResponseIdentification identification) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ProductsResponseBotd {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public ProductsResponseBotd() {
public ProductsResponseBotd() {
}

public ProductsResponseBotd data(BotdResult data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ProductsResponseIdentification {
public static final String JSON_PROPERTY_ERROR = "error";
private IdentificationError error;

public ProductsResponseIdentification() {
public ProductsResponseIdentification() {
}

public ProductsResponseIdentification data(ProductsResponseIdentificationData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class ProductsResponseIdentificationData {
public static final String JSON_PROPERTY_VISITOR_ID = "visitorId";
private String visitorId;

public ProductsResponseIdentificationData() {
public ProductsResponseIdentificationData() {
}

public ProductsResponseIdentificationData requestId(String requestId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class RawDeviceAttributesResultValue {
public static final String JSON_PROPERTY_VALUE = "value";
private JsonNullable<Object> value = JsonNullable.<Object>of(null);

public RawDeviceAttributesResultValue() {
public RawDeviceAttributesResultValue() {
}

public RawDeviceAttributesResultValue error(Error error) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class Response {
public static final String JSON_PROPERTY_PAGINATION_KEY = "paginationKey";
private String paginationKey;

public Response() {
public Response() {
}

public Response visitorId(String visitorId) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/ResponseVisits.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public class ResponseVisits {
public static final String JSON_PROPERTY_LAST_SEEN_AT = "lastSeenAt";
private SeenAt lastSeenAt;

public ResponseVisits() {
public ResponseVisits() {
}

public ResponseVisits requestId(String requestId) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/model/SeenAt.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class SeenAt {
public static final String JSON_PROPERTY_SUBSCRIPTION = "subscription";
private OffsetDateTime subscription;

public SeenAt() {
public SeenAt() {
}

public SeenAt global(OffsetDateTime global) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseClonedApp {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseClonedApp() {
public SignalResponseClonedApp() {
}

public SignalResponseClonedApp data(SignalResponseClonedAppData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SignalResponseClonedAppData {
public static final String JSON_PROPERTY_RESULT = "result";
private Boolean result;

public SignalResponseClonedAppData() {
public SignalResponseClonedAppData() {
}

public SignalResponseClonedAppData result(Boolean result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseEmulator {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseEmulator() {
public SignalResponseEmulator() {
}

public SignalResponseEmulator data(SignalResponseEmulatorData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SignalResponseEmulatorData {
public static final String JSON_PROPERTY_RESULT = "result";
private Boolean result;

public SignalResponseEmulatorData() {
public SignalResponseEmulatorData() {
}

public SignalResponseEmulatorData result(Boolean result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseFactoryReset {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseFactoryReset() {
public SignalResponseFactoryReset() {
}

public SignalResponseFactoryReset data(SignalResponseFactoryResetData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseFactoryResetData {
public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
private Long timestamp;

public SignalResponseFactoryResetData() {
public SignalResponseFactoryResetData() {
}

public SignalResponseFactoryResetData time(OffsetDateTime time) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseFrida {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseFrida() {
public SignalResponseFrida() {
}

public SignalResponseFrida data(SignalResponseFridaData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SignalResponseFridaData {
public static final String JSON_PROPERTY_RESULT = "result";
private Boolean result;

public SignalResponseFridaData() {
public SignalResponseFridaData() {
}

public SignalResponseFridaData result(Boolean result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseHighActivity {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseHighActivity() {
public SignalResponseHighActivity() {
}

public SignalResponseHighActivity data(HighActivityResult data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SignalResponseIncognito {
public static final String JSON_PROPERTY_ERROR = "error";
private ProductError error;

public SignalResponseIncognito() {
public SignalResponseIncognito() {
}

public SignalResponseIncognito data(SignalResponseIncognitoData data) {
Expand Down
Loading

0 comments on commit f97cc09

Please sign in to comment.