-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update schema, mark
IPLocation
as deprecated
- Loading branch information
Showing
16 changed files
with
219 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
# DataCenter | ||
|
||
`dataCenter` is deprecated in favor of `datacenter` | ||
|
||
## Properties | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
# DataCenterInfo | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**result** | **Boolean** | | | | ||
|**name** | **String** | | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
src/main/java/com/fingerprint/model/DataCenterInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
/* | ||
* Fingerprint Pro Server API | ||
* Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. | ||
* | ||
* The version of the OpenAPI document: 3 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
package com.fingerprint.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import java.util.Map; | ||
import java.util.HashMap; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fingerprint.sdk.JSON; | ||
|
||
|
||
/** | ||
* DataCenterInfo | ||
*/ | ||
@JsonPropertyOrder({ | ||
DataCenterInfo.JSON_PROPERTY_RESULT, | ||
DataCenterInfo.JSON_PROPERTY_NAME | ||
}) | ||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") | ||
public class DataCenterInfo { | ||
public static final String JSON_PROPERTY_RESULT = "result"; | ||
private Boolean result; | ||
|
||
public static final String JSON_PROPERTY_NAME = "name"; | ||
private String name; | ||
|
||
public DataCenterInfo() { | ||
} | ||
|
||
public DataCenterInfo result(Boolean result) { | ||
this.result = result; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get result | ||
* @return result | ||
**/ | ||
@javax.annotation.Nonnull | ||
@ApiModelProperty(required = true, value = "") | ||
@JsonProperty(JSON_PROPERTY_RESULT) | ||
@JsonInclude(value = JsonInclude.Include.ALWAYS) | ||
|
||
public Boolean getResult() { | ||
return result; | ||
} | ||
|
||
|
||
@JsonProperty(JSON_PROPERTY_RESULT) | ||
@JsonInclude(value = JsonInclude.Include.ALWAYS) | ||
public void setResult(Boolean result) { | ||
this.result = result; | ||
} | ||
|
||
|
||
public DataCenterInfo name(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get name | ||
* @return name | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(example = "DediPath", value = "") | ||
@JsonProperty(JSON_PROPERTY_NAME) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
|
||
@JsonProperty(JSON_PROPERTY_NAME) | ||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
|
||
/** | ||
* Return true if this DataCenterInfo object is equal to o. | ||
*/ | ||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
DataCenterInfo dataCenterInfo = (DataCenterInfo) o; | ||
return Objects.equals(this.result, dataCenterInfo.result) && | ||
Objects.equals(this.name, dataCenterInfo.name); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(result, name); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class DataCenterInfo {\n"); | ||
sb.append(" result: ").append(toIndentedString(result)).append("\n"); | ||
sb.append(" name: ").append(toIndentedString(name)).append("\n"); | ||
sb.append("}"); | ||
return sb.toString(); | ||
} | ||
|
||
/** | ||
* Convert the given object to string with each line indented by 4 spaces | ||
* (except the first line). | ||
*/ | ||
private String toIndentedString(Object o) { | ||
if (o == null) { | ||
return "null"; | ||
} | ||
return o.toString().replace("\n", "\n "); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.