net.rrworld.henrikval.gen.model.StatusInnerTitlesInner 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;
/**
* StatusInnerTitlesInner
*/
@JsonTypeName("status_inner_titles_inner")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class StatusInnerTitlesInner {
private String content;
private String locale;
public StatusInnerTitlesInner content(String content) {
this.content = content;
return this;
}
/**
* Get content
* @return content
*/
@Schema(name = "content", example = "Emergency Maintenance In Progress", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("content")
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public StatusInnerTitlesInner locale(String locale) {
this.locale = locale;
return this;
}
/**
* Get locale
* @return locale
*/
@Schema(name = "locale", example = "en_US", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("locale")
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StatusInnerTitlesInner statusInnerTitlesInner = (StatusInnerTitlesInner) o;
return Objects.equals(this.content, statusInnerTitlesInner.content) &&
Objects.equals(this.locale, statusInnerTitlesInner.locale);
}
@Override
public int hashCode() {
return Objects.hash(content, locale);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StatusInnerTitlesInner {\n");
sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" locale: ").append(toIndentedString(locale)).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 ");
}
}