/*
 * Bybit API
 * ## REST API for the Bybit Exchange. Base URI: [https://api.bybit.com]  
 *
 * OpenAPI spec version: 0.2.10
 * Contact: support@bybit.com
 *
 * 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 io.swagger.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;
import java.math.BigDecimal;

/**
 * Query LCP info.
 */
@ApiModel(description = "Query LCP info.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-11-12T14:39:31.513+08:00")
public class LCPInfoBase {
  @SerializedName("date")
  private String date = null;

  @SerializedName("self_ratio")
  private BigDecimal selfRatio = null;

  @SerializedName("platform_ratio")
  private BigDecimal platformRatio = null;

  @SerializedName("score")
  private BigDecimal score = null;

  public LCPInfoBase date(String date) {
    this.date = date;
    return this;
  }

   /**
   * Get date
   * @return date
  **/
  @ApiModelProperty(value = "")
  public String getDate() {
    return date;
  }

  public void setDate(String date) {
    this.date = date;
  }

  public LCPInfoBase selfRatio(BigDecimal selfRatio) {
    this.selfRatio = selfRatio;
    return this;
  }

   /**
   * Get selfRatio
   * @return selfRatio
  **/
  @ApiModelProperty(value = "")
  public BigDecimal getSelfRatio() {
    return selfRatio;
  }

  public void setSelfRatio(BigDecimal selfRatio) {
    this.selfRatio = selfRatio;
  }

  public LCPInfoBase platformRatio(BigDecimal platformRatio) {
    this.platformRatio = platformRatio;
    return this;
  }

   /**
   * Get platformRatio
   * @return platformRatio
  **/
  @ApiModelProperty(value = "")
  public BigDecimal getPlatformRatio() {
    return platformRatio;
  }

  public void setPlatformRatio(BigDecimal platformRatio) {
    this.platformRatio = platformRatio;
  }

  public LCPInfoBase score(BigDecimal score) {
    this.score = score;
    return this;
  }

   /**
   * Get score
   * @return score
  **/
  @ApiModelProperty(value = "")
  public BigDecimal getScore() {
    return score;
  }

  public void setScore(BigDecimal score) {
    this.score = score;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LCPInfoBase lcPInfoBase = (LCPInfoBase) o;
    return Objects.equals(this.date, lcPInfoBase.date) &&
        Objects.equals(this.selfRatio, lcPInfoBase.selfRatio) &&
        Objects.equals(this.platformRatio, lcPInfoBase.platformRatio) &&
        Objects.equals(this.score, lcPInfoBase.score);
  }

  @Override
  public int hashCode() {
    return Objects.hash(date, selfRatio, platformRatio, score);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class LCPInfoBase {\n");
    
    sb.append("    date: ").append(toIndentedString(date)).append("\n");
    sb.append("    selfRatio: ").append(toIndentedString(selfRatio)).append("\n");
    sb.append("    platformRatio: ").append(toIndentedString(platformRatio)).append("\n");
    sb.append("    score: ").append(toIndentedString(score)).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    ");
  }

}

