net.rrworld.henrikval.gen.model.ValorantV1VersionRegionGet200ResponseData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of henrikapi-val-client Show documentation
Show all versions of henrikapi-val-client Show documentation
Valorant Java client based on HenrikDev-API
The newest version!
package net.rrworld.henrikval.gen.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.time.OffsetDateTime;
import javax.validation.Valid;
import javax.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.*;
import javax.annotation.Generated;
/**
* ValorantV1VersionRegionGet200ResponseData
*/
@JsonTypeName("_valorant_v1_version__region__get_200_response_data")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class ValorantV1VersionRegionGet200ResponseData {
private String version;
private String clientVersion;
private String branch;
private String region;
public ValorantV1VersionRegionGet200ResponseData version(String version) {
this.version = version;
return this;
}
/**
* Get version
* @return version
*/
@Schema(name = "version", example = "04.00.00.655657", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("version")
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public ValorantV1VersionRegionGet200ResponseData clientVersion(String clientVersion) {
this.clientVersion = clientVersion;
return this;
}
/**
* Get clientVersion
* @return clientVersion
*/
@Schema(name = "clientVersion", example = "release-04.00-shipping-20-655657", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("clientVersion")
public String getClientVersion() {
return clientVersion;
}
public void setClientVersion(String clientVersion) {
this.clientVersion = clientVersion;
}
public ValorantV1VersionRegionGet200ResponseData branch(String branch) {
this.branch = branch;
return this;
}
/**
* Get branch
* @return branch
*/
@Schema(name = "branch", example = "release-04.00", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("branch")
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public ValorantV1VersionRegionGet200ResponseData region(String region) {
this.region = region;
return this;
}
/**
* Get region
* @return region
*/
@Schema(name = "region", example = "EU", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("region")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ValorantV1VersionRegionGet200ResponseData valorantV1VersionRegionGet200ResponseData = (ValorantV1VersionRegionGet200ResponseData) o;
return Objects.equals(this.version, valorantV1VersionRegionGet200ResponseData.version) &&
Objects.equals(this.clientVersion, valorantV1VersionRegionGet200ResponseData.clientVersion) &&
Objects.equals(this.branch, valorantV1VersionRegionGet200ResponseData.branch) &&
Objects.equals(this.region, valorantV1VersionRegionGet200ResponseData.region);
}
@Override
public int hashCode() {
return Objects.hash(version, clientVersion, branch, region);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ValorantV1VersionRegionGet200ResponseData {\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" clientVersion: ").append(toIndentedString(clientVersion)).append("\n");
sb.append(" branch: ").append(toIndentedString(branch)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).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 ");
}
}