net.rrworld.henrikval.gen.model.V1esportscheduleitemLeague 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;
/**
* V1esportscheduleitemLeague
*/
@JsonTypeName("v1esportscheduleitem_league")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V1esportscheduleitemLeague {
private String name;
private String identifier;
private String icon;
private String region;
public V1esportscheduleitemLeague name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
*/
@Schema(name = "name", example = "Challengers DACH", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public V1esportscheduleitemLeague identifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Get identifier
* @return identifier
*/
@Schema(name = "identifier", example = "vrl_dach", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("identifier")
public String getIdentifier() {
return identifier;
}
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public V1esportscheduleitemLeague icon(String icon) {
this.icon = icon;
return this;
}
/**
* Get icon
* @return icon
*/
@Schema(name = "icon", example = "https://static.lolesports.com/leagues/1672932144616_DACH_ICON_400_400.png", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("icon")
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public V1esportscheduleitemLeague region(String region) {
this.region = region;
return this;
}
/**
* Get region
* @return region
*/
@Schema(name = "region", example = "EMEA", 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;
}
V1esportscheduleitemLeague v1esportscheduleitemLeague = (V1esportscheduleitemLeague) o;
return Objects.equals(this.name, v1esportscheduleitemLeague.name) &&
Objects.equals(this.identifier, v1esportscheduleitemLeague.identifier) &&
Objects.equals(this.icon, v1esportscheduleitemLeague.icon) &&
Objects.equals(this.region, v1esportscheduleitemLeague.region);
}
@Override
public int hashCode() {
return Objects.hash(name, identifier, icon, region);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1esportscheduleitemLeague {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n");
sb.append(" icon: ").append(toIndentedString(icon)).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 ");
}
}