/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * GenericSequenceDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class GenericSequenceDto {
  public static final String SERIALIZED_NAME_PREFIX = "prefix";
  @SerializedName(SERIALIZED_NAME_PREFIX)
  private String prefix;

  public static final String SERIALIZED_NAME_SEQUENCE_SIZE = "sequenceSize";
  @SerializedName(SERIALIZED_NAME_SEQUENCE_SIZE)
  private Long sequenceSize;

  public static final String SERIALIZED_NAME_CURRENT_SEQUENCE_NB = "currentSequenceNb";
  @SerializedName(SERIALIZED_NAME_CURRENT_SEQUENCE_NB)
  private Long currentSequenceNb;


  public GenericSequenceDto prefix(String prefix) {
    
    this.prefix = prefix;
    return this;
  }

   /**
   * Get prefix
   * @return prefix
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getPrefix() {
    return prefix;
  }



  public void setPrefix(String prefix) {
    this.prefix = prefix;
  }


  public GenericSequenceDto sequenceSize(Long sequenceSize) {
    
    this.sequenceSize = sequenceSize;
    return this;
  }

   /**
   * Get sequenceSize
   * @return sequenceSize
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Long getSequenceSize() {
    return sequenceSize;
  }



  public void setSequenceSize(Long sequenceSize) {
    this.sequenceSize = sequenceSize;
  }


  public GenericSequenceDto currentSequenceNb(Long currentSequenceNb) {
    
    this.currentSequenceNb = currentSequenceNb;
    return this;
  }

   /**
   * Get currentSequenceNb
   * @return currentSequenceNb
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Long getCurrentSequenceNb() {
    return currentSequenceNb;
  }



  public void setCurrentSequenceNb(Long currentSequenceNb) {
    this.currentSequenceNb = currentSequenceNb;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GenericSequenceDto genericSequenceDto = (GenericSequenceDto) o;
    return Objects.equals(this.prefix, genericSequenceDto.prefix) &&
        Objects.equals(this.sequenceSize, genericSequenceDto.sequenceSize) &&
        Objects.equals(this.currentSequenceNb, genericSequenceDto.currentSequenceNb);
  }

  @Override
  public int hashCode() {
    return Objects.hash(prefix, sequenceSize, currentSequenceNb);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GenericSequenceDto {\n");
    sb.append("    prefix: ").append(toIndentedString(prefix)).append("\n");
    sb.append("    sequenceSize: ").append(toIndentedString(sequenceSize)).append("\n");
    sb.append("    currentSequenceNb: ").append(toIndentedString(currentSequenceNb)).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    ");
  }

}

