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

com.anaptecs.jeaf.openapi.UICStop Maven / Gradle / Ivy

There is a newer version: 1.24.2
Show newest version
/*
 * Product Base Definitions
 * This component represents the Open API interface of the accounting service. 
 *
 * OpenAPI spec version: 0.0.1
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.anaptecs.jeaf.openapi;

import java.util.Objects;
import java.util.Arrays;
import com.anaptecs.jeaf.openapi.LinkObject;
import com.anaptecs.jeaf.openapi.Stop;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
/**
 *  <br><br> Alternate Name: Haltestelle 
 */
@Schema(description = " 

Alternate Name: Haltestelle ") public class UICStop extends Stop { @JsonProperty("uicCode") private String uicCode = null; @JsonProperty("priority") private Integer priority = null; @JsonProperty("code") private Long code = null; @JsonProperty("index2") private Integer index2 = null; public UICStop uicCode(String uicCode) { this.uicCode = uicCode; return this; } /** * Get uicCode * @return uicCode **/ @Schema(required = true, description = "") public String getUicCode() { return uicCode; } public void setUicCode(String uicCode) { this.uicCode = uicCode; } public UICStop priority(Integer priority) { this.priority = priority; return this; } /** * Get priority * minimum: 1 * maximum: 32 * @return priority **/ @Schema(required = true, description = "") public Integer getPriority() { return priority; } public void setPriority(Integer priority) { this.priority = priority; } public UICStop code(Long code) { this.code = code; return this; } /** * Get code * minimum: 1000 * maximum: 9999 * @return code **/ @Schema(required = true, description = "") public Long getCode() { return code; } public void setCode(Long code) { this.code = code; } public UICStop index2(Integer index2) { this.index2 = index2; return this; } /** * Get index2 * minimum: 0 * @return index2 **/ @Schema(required = true, description = "") public Integer getIndex2() { return index2; } public void setIndex2(Integer index2) { this.index2 = index2; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } UICStop uiCStop = (UICStop) o; return Objects.equals(this.uicCode, uiCStop.uicCode) && Objects.equals(this.priority, uiCStop.priority) && Objects.equals(this.code, uiCStop.code) && Objects.equals(this.index2, uiCStop.index2) && super.equals(o); } @Override public int hashCode() { return Objects.hash(uicCode, priority, code, index2, super.hashCode()); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UICStop {\n"); sb.append(" ").append(toIndentedString(super.toString())).append("\n"); sb.append(" uicCode: ").append(toIndentedString(uicCode)).append("\n"); sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" index2: ").append(toIndentedString(index2)).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(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy