com.ziqni.admin.sdk.model.CompetitionAllOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-admin-sdk Show documentation
Show all versions of ziqni-admin-sdk Show documentation
ZIQNI Admin SDK Java Client
/*
* ZIQNI Admin API
* Ziqni Application Services are used to manage and configure spaces. Change log: 2024-02-27 Added rewards reduced to the LeaderboardEntry response
*
* The version of the OpenAPI document: 3.0.17
* 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.ziqni.admin.sdk.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 com.ziqni.admin.sdk.model.CompetitionStatus;
import com.ziqni.admin.sdk.model.CompetitionType;
import com.ziqni.admin.sdk.model.DependantOn;
import com.ziqni.admin.sdk.model.ProductReduced;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CompetitionAllOf
*/
@JsonPropertyOrder({
CompetitionAllOf.JSON_PROPERTY_COMPETITION_TYPE,
CompetitionAllOf.JSON_PROPERTY_NUMBER_OF_ROUNDS,
CompetitionAllOf.JSON_PROPERTY_NUMBER_OF_GROUP_STAGES,
CompetitionAllOf.JSON_PROPERTY_NAME,
CompetitionAllOf.JSON_PROPERTY_DESCRIPTION,
CompetitionAllOf.JSON_PROPERTY_TERMS_AND_CONDITIONS,
CompetitionAllOf.JSON_PROPERTY_MAX_NUMBER_OF_ENTRANTS,
CompetitionAllOf.JSON_PROPERTY_MIN_NUMBER_OF_ENTRANTS,
CompetitionAllOf.JSON_PROPERTY_ENTRANT_MEMBER_TYPE,
CompetitionAllOf.JSON_PROPERTY_SCHEDULED_START_DATE,
CompetitionAllOf.JSON_PROPERTY_SCHEDULED_END_DATE,
CompetitionAllOf.JSON_PROPERTY_ACTUAL_START_DATE,
CompetitionAllOf.JSON_PROPERTY_ACTUAL_END_DATE,
CompetitionAllOf.JSON_PROPERTY_STATUS,
CompetitionAllOf.JSON_PROPERTY_STATUS_CODE,
CompetitionAllOf.JSON_PROPERTY_CONSTRAINTS,
CompetitionAllOf.JSON_PROPERTY_PRODUCTS,
CompetitionAllOf.JSON_PROPERTY_ENTRANT_MEMBER_TAGS_FILTER,
CompetitionAllOf.JSON_PROPERTY_PRODUCT_TAGS_FILTER,
CompetitionAllOf.JSON_PROPERTY_ICON,
CompetitionAllOf.JSON_PROPERTY_BANNER,
CompetitionAllOf.JSON_PROPERTY_BANNER_LOW_RESOLUTION,
CompetitionAllOf.JSON_PROPERTY_BANNER_HIGH_RESOLUTION
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CompetitionAllOf {
public static final String JSON_PROPERTY_COMPETITION_TYPE = "competitionType";
private CompetitionType competitionType;
public static final String JSON_PROPERTY_NUMBER_OF_ROUNDS = "numberOfRounds";
private Integer numberOfRounds;
public static final String JSON_PROPERTY_NUMBER_OF_GROUP_STAGES = "numberOfGroupStages";
private Integer numberOfGroupStages;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_TERMS_AND_CONDITIONS = "termsAndConditions";
private String termsAndConditions;
public static final String JSON_PROPERTY_MAX_NUMBER_OF_ENTRANTS = "maxNumberOfEntrants";
private Integer maxNumberOfEntrants;
public static final String JSON_PROPERTY_MIN_NUMBER_OF_ENTRANTS = "minNumberOfEntrants";
private Integer minNumberOfEntrants;
public static final String JSON_PROPERTY_ENTRANT_MEMBER_TYPE = "entrantMemberType";
private String entrantMemberType;
public static final String JSON_PROPERTY_SCHEDULED_START_DATE = "scheduledStartDate";
private OffsetDateTime scheduledStartDate;
public static final String JSON_PROPERTY_SCHEDULED_END_DATE = "scheduledEndDate";
private OffsetDateTime scheduledEndDate;
public static final String JSON_PROPERTY_ACTUAL_START_DATE = "actualStartDate";
private OffsetDateTime actualStartDate;
public static final String JSON_PROPERTY_ACTUAL_END_DATE = "actualEndDate";
private OffsetDateTime actualEndDate;
public static final String JSON_PROPERTY_STATUS = "status";
private CompetitionStatus status;
public static final String JSON_PROPERTY_STATUS_CODE = "statusCode";
private Integer statusCode;
public static final String JSON_PROPERTY_CONSTRAINTS = "constraints";
private Set constraints = new LinkedHashSet<>();
public static final String JSON_PROPERTY_PRODUCTS = "products";
private List products = new ArrayList<>();
public static final String JSON_PROPERTY_ENTRANT_MEMBER_TAGS_FILTER = "entrantMemberTagsFilter";
private DependantOn entrantMemberTagsFilter;
public static final String JSON_PROPERTY_PRODUCT_TAGS_FILTER = "productTagsFilter";
private DependantOn productTagsFilter;
public static final String JSON_PROPERTY_ICON = "icon";
private String icon;
public static final String JSON_PROPERTY_BANNER = "banner";
private String banner;
public static final String JSON_PROPERTY_BANNER_LOW_RESOLUTION = "bannerLowResolution";
private String bannerLowResolution;
public static final String JSON_PROPERTY_BANNER_HIGH_RESOLUTION = "bannerHighResolution";
private String bannerHighResolution;
public CompetitionAllOf competitionType(CompetitionType competitionType) {
this.competitionType = competitionType;
return this;
}
/**
* Get competitionType
* @return competitionType
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_COMPETITION_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public CompetitionType getCompetitionType() {
return competitionType;
}
@JsonProperty(JSON_PROPERTY_COMPETITION_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCompetitionType(CompetitionType competitionType) {
this.competitionType = competitionType;
}
public CompetitionAllOf numberOfRounds(Integer numberOfRounds) {
this.numberOfRounds = numberOfRounds;
return this;
}
/**
* Number of rounds to be played in a competition
* @return numberOfRounds
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "1", required = true, value = "Number of rounds to be played in a competition")
@JsonProperty(JSON_PROPERTY_NUMBER_OF_ROUNDS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getNumberOfRounds() {
return numberOfRounds;
}
@JsonProperty(JSON_PROPERTY_NUMBER_OF_ROUNDS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumberOfRounds(Integer numberOfRounds) {
this.numberOfRounds = numberOfRounds;
}
public CompetitionAllOf numberOfGroupStages(Integer numberOfGroupStages) {
this.numberOfGroupStages = numberOfGroupStages;
return this;
}
/**
* Number of group stages
* @return numberOfGroupStages
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Number of group stages")
@JsonProperty(JSON_PROPERTY_NUMBER_OF_GROUP_STAGES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getNumberOfGroupStages() {
return numberOfGroupStages;
}
@JsonProperty(JSON_PROPERTY_NUMBER_OF_GROUP_STAGES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNumberOfGroupStages(Integer numberOfGroupStages) {
this.numberOfGroupStages = numberOfGroupStages;
}
public CompetitionAllOf name(String name) {
this.name = name;
return this;
}
/**
* A name or a name of a competition. Can be translated
* @return name
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "Summer fest", required = true, value = "A name or a name of a competition. Can be translated")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
public CompetitionAllOf description(String description) {
this.description = description;
return this;
}
/**
* Description of the competition. Can be translated
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "A competition that is for 1 day", value = "Description of the competition. Can be translated")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public CompetitionAllOf termsAndConditions(String termsAndConditions) {
this.termsAndConditions = termsAndConditions;
return this;
}
/**
* Terms and conditions of a competition. Can be translated
* @return termsAndConditions
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Participate to win", value = "Terms and conditions of a competition. Can be translated")
@JsonProperty(JSON_PROPERTY_TERMS_AND_CONDITIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTermsAndConditions() {
return termsAndConditions;
}
@JsonProperty(JSON_PROPERTY_TERMS_AND_CONDITIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTermsAndConditions(String termsAndConditions) {
this.termsAndConditions = termsAndConditions;
}
public CompetitionAllOf maxNumberOfEntrants(Integer maxNumberOfEntrants) {
this.maxNumberOfEntrants = maxNumberOfEntrants;
return this;
}
/**
* Maximum number of partiipants allowed in a competition
* @return maxNumberOfEntrants
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "9999", value = "Maximum number of partiipants allowed in a competition")
@JsonProperty(JSON_PROPERTY_MAX_NUMBER_OF_ENTRANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getMaxNumberOfEntrants() {
return maxNumberOfEntrants;
}
@JsonProperty(JSON_PROPERTY_MAX_NUMBER_OF_ENTRANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMaxNumberOfEntrants(Integer maxNumberOfEntrants) {
this.maxNumberOfEntrants = maxNumberOfEntrants;
}
public CompetitionAllOf minNumberOfEntrants(Integer minNumberOfEntrants) {
this.minNumberOfEntrants = minNumberOfEntrants;
return this;
}
/**
* Maximum number of partiipants allowed in a competition
* @return minNumberOfEntrants
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "0", required = true, value = "Maximum number of partiipants allowed in a competition")
@JsonProperty(JSON_PROPERTY_MIN_NUMBER_OF_ENTRANTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getMinNumberOfEntrants() {
return minNumberOfEntrants;
}
@JsonProperty(JSON_PROPERTY_MIN_NUMBER_OF_ENTRANTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMinNumberOfEntrants(Integer minNumberOfEntrants) {
this.minNumberOfEntrants = minNumberOfEntrants;
}
public CompetitionAllOf entrantMemberType(String entrantMemberType) {
this.entrantMemberType = entrantMemberType;
return this;
}
/**
* Get entrantMemberType
* @return entrantMemberType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENTRANT_MEMBER_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEntrantMemberType() {
return entrantMemberType;
}
@JsonProperty(JSON_PROPERTY_ENTRANT_MEMBER_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEntrantMemberType(String entrantMemberType) {
this.entrantMemberType = entrantMemberType;
}
public CompetitionAllOf scheduledStartDate(OffsetDateTime scheduledStartDate) {
this.scheduledStartDate = scheduledStartDate;
return this;
}
/**
* ISO8601 timestamp for when a Competition should start. All records are stored in UTC time zone
* @return scheduledStartDate
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "ISO8601 timestamp for when a Competition should start. All records are stored in UTC time zone")
@JsonProperty(JSON_PROPERTY_SCHEDULED_START_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public OffsetDateTime getScheduledStartDate() {
return scheduledStartDate;
}
@JsonProperty(JSON_PROPERTY_SCHEDULED_START_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setScheduledStartDate(OffsetDateTime scheduledStartDate) {
this.scheduledStartDate = scheduledStartDate;
}
public CompetitionAllOf scheduledEndDate(OffsetDateTime scheduledEndDate) {
this.scheduledEndDate = scheduledEndDate;
return this;
}
/**
* ISO8601 timestamp for when a Competition should end. All records are stored in UTC time zone
* @return scheduledEndDate
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "ISO8601 timestamp for when a Competition should end. All records are stored in UTC time zone")
@JsonProperty(JSON_PROPERTY_SCHEDULED_END_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public OffsetDateTime getScheduledEndDate() {
return scheduledEndDate;
}
@JsonProperty(JSON_PROPERTY_SCHEDULED_END_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setScheduledEndDate(OffsetDateTime scheduledEndDate) {
this.scheduledEndDate = scheduledEndDate;
}
/**
* ISO8601 timestamp for when a Competition started. All records are stored in UTC time zone
* @return actualStartDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ISO8601 timestamp for when a Competition started. All records are stored in UTC time zone")
@JsonProperty(JSON_PROPERTY_ACTUAL_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getActualStartDate() {
return actualStartDate;
}
/**
* ISO8601 timestamp for when a Competition ended. All records are stored in UTC time zone
* @return actualEndDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ISO8601 timestamp for when a Competition ended. All records are stored in UTC time zone")
@JsonProperty(JSON_PROPERTY_ACTUAL_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getActualEndDate() {
return actualEndDate;
}
public CompetitionAllOf status(CompetitionStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public CompetitionStatus getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStatus(CompetitionStatus status) {
this.status = status;
}
/**
* The code of the competition
* @return statusCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "3", value = "The code of the competition")
@JsonProperty(JSON_PROPERTY_STATUS_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getStatusCode() {
return statusCode;
}
public CompetitionAllOf constraints(Set constraints) {
this.constraints = constraints;
return this;
}
public CompetitionAllOf addConstraintsItem(String constraintsItem) {
this.constraints.add(constraintsItem);
return this;
}
/**
* Additional constraints
* @return constraints
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "- notifyMember - memberAcknowledgmentRequired - isPublic - autoStart - autoStop - optinRequiredForEntrants", required = true, value = "Additional constraints")
@JsonProperty(JSON_PROPERTY_CONSTRAINTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Set getConstraints() {
return constraints;
}
@JsonProperty(JSON_PROPERTY_CONSTRAINTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setConstraints(Set constraints) {
this.constraints = constraints;
}
public CompetitionAllOf products(List products) {
this.products = products;
return this;
}
public CompetitionAllOf addProductsItem(ProductReduced productsItem) {
this.products.add(productsItem);
return this;
}
/**
* Get products
* @return products
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_PRODUCTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getProducts() {
return products;
}
@JsonProperty(JSON_PROPERTY_PRODUCTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setProducts(List products) {
this.products = products;
}
public CompetitionAllOf entrantMemberTagsFilter(DependantOn entrantMemberTagsFilter) {
this.entrantMemberTagsFilter = entrantMemberTagsFilter;
return this;
}
/**
* Get entrantMemberTagsFilter
* @return entrantMemberTagsFilter
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENTRANT_MEMBER_TAGS_FILTER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DependantOn getEntrantMemberTagsFilter() {
return entrantMemberTagsFilter;
}
@JsonProperty(JSON_PROPERTY_ENTRANT_MEMBER_TAGS_FILTER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEntrantMemberTagsFilter(DependantOn entrantMemberTagsFilter) {
this.entrantMemberTagsFilter = entrantMemberTagsFilter;
}
public CompetitionAllOf productTagsFilter(DependantOn productTagsFilter) {
this.productTagsFilter = productTagsFilter;
return this;
}
/**
* Get productTagsFilter
* @return productTagsFilter
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PRODUCT_TAGS_FILTER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DependantOn getProductTagsFilter() {
return productTagsFilter;
}
@JsonProperty(JSON_PROPERTY_PRODUCT_TAGS_FILTER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProductTagsFilter(DependantOn productTagsFilter) {
this.productTagsFilter = productTagsFilter;
}
public CompetitionAllOf icon(String icon) {
this.icon = icon;
return this;
}
/**
* Link to the icon
* @return icon
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://.cdn.ziqni.com/_id/", value = "Link to the icon")
@JsonProperty(JSON_PROPERTY_ICON)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIcon() {
return icon;
}
@JsonProperty(JSON_PROPERTY_ICON)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIcon(String icon) {
this.icon = icon;
}
public CompetitionAllOf banner(String banner) {
this.banner = banner;
return this;
}
/**
* Link to the banner
* @return banner
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://.cdn.ziqni.com/_id/", value = "Link to the banner")
@JsonProperty(JSON_PROPERTY_BANNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBanner() {
return banner;
}
@JsonProperty(JSON_PROPERTY_BANNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBanner(String banner) {
this.banner = banner;
}
public CompetitionAllOf bannerLowResolution(String bannerLowResolution) {
this.bannerLowResolution = bannerLowResolution;
return this;
}
/**
* Link to the bannerLowResolution
* @return bannerLowResolution
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://.cdn.ziqni.com/_id/", value = "Link to the bannerLowResolution")
@JsonProperty(JSON_PROPERTY_BANNER_LOW_RESOLUTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBannerLowResolution() {
return bannerLowResolution;
}
@JsonProperty(JSON_PROPERTY_BANNER_LOW_RESOLUTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBannerLowResolution(String bannerLowResolution) {
this.bannerLowResolution = bannerLowResolution;
}
public CompetitionAllOf bannerHighResolution(String bannerHighResolution) {
this.bannerHighResolution = bannerHighResolution;
return this;
}
/**
* Link to the bannerHighResolution
* @return bannerHighResolution
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://.cdn.ziqni.com/_id/", value = "Link to the bannerHighResolution")
@JsonProperty(JSON_PROPERTY_BANNER_HIGH_RESOLUTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBannerHighResolution() {
return bannerHighResolution;
}
@JsonProperty(JSON_PROPERTY_BANNER_HIGH_RESOLUTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBannerHighResolution(String bannerHighResolution) {
this.bannerHighResolution = bannerHighResolution;
}
/**
* Return true if this Competition_allOf object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CompetitionAllOf competitionAllOf = (CompetitionAllOf) o;
return Objects.equals(this.competitionType, competitionAllOf.competitionType) &&
Objects.equals(this.numberOfRounds, competitionAllOf.numberOfRounds) &&
Objects.equals(this.numberOfGroupStages, competitionAllOf.numberOfGroupStages) &&
Objects.equals(this.name, competitionAllOf.name) &&
Objects.equals(this.description, competitionAllOf.description) &&
Objects.equals(this.termsAndConditions, competitionAllOf.termsAndConditions) &&
Objects.equals(this.maxNumberOfEntrants, competitionAllOf.maxNumberOfEntrants) &&
Objects.equals(this.minNumberOfEntrants, competitionAllOf.minNumberOfEntrants) &&
Objects.equals(this.entrantMemberType, competitionAllOf.entrantMemberType) &&
Objects.equals(this.scheduledStartDate, competitionAllOf.scheduledStartDate) &&
Objects.equals(this.scheduledEndDate, competitionAllOf.scheduledEndDate) &&
Objects.equals(this.actualStartDate, competitionAllOf.actualStartDate) &&
Objects.equals(this.actualEndDate, competitionAllOf.actualEndDate) &&
Objects.equals(this.status, competitionAllOf.status) &&
Objects.equals(this.statusCode, competitionAllOf.statusCode) &&
Objects.equals(this.constraints, competitionAllOf.constraints) &&
Objects.equals(this.products, competitionAllOf.products) &&
Objects.equals(this.entrantMemberTagsFilter, competitionAllOf.entrantMemberTagsFilter) &&
Objects.equals(this.productTagsFilter, competitionAllOf.productTagsFilter) &&
Objects.equals(this.icon, competitionAllOf.icon) &&
Objects.equals(this.banner, competitionAllOf.banner) &&
Objects.equals(this.bannerLowResolution, competitionAllOf.bannerLowResolution) &&
Objects.equals(this.bannerHighResolution, competitionAllOf.bannerHighResolution);
}
@Override
public int hashCode() {
return Objects.hash(competitionType, numberOfRounds, numberOfGroupStages, name, description, termsAndConditions, maxNumberOfEntrants, minNumberOfEntrants, entrantMemberType, scheduledStartDate, scheduledEndDate, actualStartDate, actualEndDate, status, statusCode, constraints, products, entrantMemberTagsFilter, productTagsFilter, icon, banner, bannerLowResolution, bannerHighResolution);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CompetitionAllOf {\n");
sb.append(" competitionType: ").append(toIndentedString(competitionType)).append("\n");
sb.append(" numberOfRounds: ").append(toIndentedString(numberOfRounds)).append("\n");
sb.append(" numberOfGroupStages: ").append(toIndentedString(numberOfGroupStages)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" termsAndConditions: ").append(toIndentedString(termsAndConditions)).append("\n");
sb.append(" maxNumberOfEntrants: ").append(toIndentedString(maxNumberOfEntrants)).append("\n");
sb.append(" minNumberOfEntrants: ").append(toIndentedString(minNumberOfEntrants)).append("\n");
sb.append(" entrantMemberType: ").append(toIndentedString(entrantMemberType)).append("\n");
sb.append(" scheduledStartDate: ").append(toIndentedString(scheduledStartDate)).append("\n");
sb.append(" scheduledEndDate: ").append(toIndentedString(scheduledEndDate)).append("\n");
sb.append(" actualStartDate: ").append(toIndentedString(actualStartDate)).append("\n");
sb.append(" actualEndDate: ").append(toIndentedString(actualEndDate)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n");
sb.append(" constraints: ").append(toIndentedString(constraints)).append("\n");
sb.append(" products: ").append(toIndentedString(products)).append("\n");
sb.append(" entrantMemberTagsFilter: ").append(toIndentedString(entrantMemberTagsFilter)).append("\n");
sb.append(" productTagsFilter: ").append(toIndentedString(productTagsFilter)).append("\n");
sb.append(" icon: ").append(toIndentedString(icon)).append("\n");
sb.append(" banner: ").append(toIndentedString(banner)).append("\n");
sb.append(" bannerLowResolution: ").append(toIndentedString(bannerLowResolution)).append("\n");
sb.append(" bannerHighResolution: ").append(toIndentedString(bannerHighResolution)).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 - 2025 Weber Informatics LLC | Privacy Policy