com.ziqni.admin.sdk.model.EntrantRequest 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.
*
* The version of the OpenAPI document: 3.0.1
* 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.EntrantAction;
import com.ziqni.admin.sdk.model.EntrantStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* EntrantRequest
*/
@JsonPropertyOrder({
EntrantRequest.JSON_PROPERTY_MEMBER_ID,
EntrantRequest.JSON_PROPERTY_ENTITY_ID,
EntrantRequest.JSON_PROPERTY_ENTRANT_STATUS,
EntrantRequest.JSON_PROPERTY_ENTRANT_ACTION
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class EntrantRequest {
public static final String JSON_PROPERTY_MEMBER_ID = "memberId";
private String memberId;
public static final String JSON_PROPERTY_ENTITY_ID = "entityId";
private String entityId;
public static final String JSON_PROPERTY_ENTRANT_STATUS = "entrantStatus";
private EntrantStatus entrantStatus;
public static final String JSON_PROPERTY_ENTRANT_ACTION = "entrantAction";
private EntrantAction entrantAction;
public EntrantRequest memberId(String memberId) {
this.memberId = memberId;
return this;
}
/**
* Unique member identifier. A member has to exist in the Ziqni database
* @return memberId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Dc4swmQBVd51K6gPQqFx", value = "Unique member identifier. A member has to exist in the Ziqni database")
@JsonProperty(JSON_PROPERTY_MEMBER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMemberId() {
return memberId;
}
@JsonProperty(JSON_PROPERTY_MEMBER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMemberId(String memberId) {
this.memberId = memberId;
}
public EntrantRequest entityId(String entityId) {
this.entityId = entityId;
return this;
}
/**
* Unique competition identifier
* @return entityId
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "PXXQrm4BuCEBoI5DKW47", required = true, value = "Unique competition identifier")
@JsonProperty(JSON_PROPERTY_ENTITY_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEntityId() {
return entityId;
}
@JsonProperty(JSON_PROPERTY_ENTITY_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public EntrantRequest entrantStatus(EntrantStatus entrantStatus) {
this.entrantStatus = entrantStatus;
return this;
}
/**
* Get entrantStatus
* @return entrantStatus
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_ENTRANT_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EntrantStatus getEntrantStatus() {
return entrantStatus;
}
@JsonProperty(JSON_PROPERTY_ENTRANT_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEntrantStatus(EntrantStatus entrantStatus) {
this.entrantStatus = entrantStatus;
}
public EntrantRequest entrantAction(EntrantAction entrantAction) {
this.entrantAction = entrantAction;
return this;
}
/**
* Get entrantAction
* @return entrantAction
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_ENTRANT_ACTION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EntrantAction getEntrantAction() {
return entrantAction;
}
@JsonProperty(JSON_PROPERTY_ENTRANT_ACTION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEntrantAction(EntrantAction entrantAction) {
this.entrantAction = entrantAction;
}
/**
* Return true if this EntrantRequest object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntrantRequest entrantRequest = (EntrantRequest) o;
return Objects.equals(this.memberId, entrantRequest.memberId) &&
Objects.equals(this.entityId, entrantRequest.entityId) &&
Objects.equals(this.entrantStatus, entrantRequest.entrantStatus) &&
Objects.equals(this.entrantAction, entrantRequest.entrantAction);
}
@Override
public int hashCode() {
return Objects.hash(memberId, entityId, entrantStatus, entrantAction);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntrantRequest {\n");
sb.append(" memberId: ").append(toIndentedString(memberId)).append("\n");
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
sb.append(" entrantStatus: ").append(toIndentedString(entrantStatus)).append("\n");
sb.append(" entrantAction: ").append(toIndentedString(entrantAction)).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