All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.rrworld.henrikval.gen.model.TeamRoasterCustomization Maven / Gradle / Ivy

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;

/**
 * TeamRoasterCustomization
 */

@JsonTypeName("team_roaster_customization")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class TeamRoasterCustomization {

  private String icon;

  private String image;

  private String primary;

  private String secondary;

  private String tertiary;

  public TeamRoasterCustomization icon(String icon) {
    this.icon = icon;
    return this;
  }

  /**
   * Get icon
   * @return icon
   */
  
  @Schema(name = "icon", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("icon")
  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public TeamRoasterCustomization image(String image) {
    this.image = image;
    return this;
  }

  /**
   * Get image
   * @return image
   */
  
  @Schema(name = "image", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("image")
  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public TeamRoasterCustomization primary(String primary) {
    this.primary = primary;
    return this;
  }

  /**
   * Get primary
   * @return primary
   */
  
  @Schema(name = "primary", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("primary")
  public String getPrimary() {
    return primary;
  }

  public void setPrimary(String primary) {
    this.primary = primary;
  }

  public TeamRoasterCustomization secondary(String secondary) {
    this.secondary = secondary;
    return this;
  }

  /**
   * Get secondary
   * @return secondary
   */
  
  @Schema(name = "secondary", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("secondary")
  public String getSecondary() {
    return secondary;
  }

  public void setSecondary(String secondary) {
    this.secondary = secondary;
  }

  public TeamRoasterCustomization tertiary(String tertiary) {
    this.tertiary = tertiary;
    return this;
  }

  /**
   * Get tertiary
   * @return tertiary
   */
  
  @Schema(name = "tertiary", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("tertiary")
  public String getTertiary() {
    return tertiary;
  }

  public void setTertiary(String tertiary) {
    this.tertiary = tertiary;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TeamRoasterCustomization teamRoasterCustomization = (TeamRoasterCustomization) o;
    return Objects.equals(this.icon, teamRoasterCustomization.icon) &&
        Objects.equals(this.image, teamRoasterCustomization.image) &&
        Objects.equals(this.primary, teamRoasterCustomization.primary) &&
        Objects.equals(this.secondary, teamRoasterCustomization.secondary) &&
        Objects.equals(this.tertiary, teamRoasterCustomization.tertiary);
  }

  @Override
  public int hashCode() {
    return Objects.hash(icon, image, primary, secondary, tertiary);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TeamRoasterCustomization {\n");
    sb.append("    icon: ").append(toIndentedString(icon)).append("\n");
    sb.append("    image: ").append(toIndentedString(image)).append("\n");
    sb.append("    primary: ").append(toIndentedString(primary)).append("\n");
    sb.append("    secondary: ").append(toIndentedString(secondary)).append("\n");
    sb.append("    tertiary: ").append(toIndentedString(tertiary)).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    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy