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

com.almworks.jira.structure.api.rest.RestSQuery Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
package com.almworks.jira.structure.api.rest;

public class RestSQuery {
  public String query;
  public String type;

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    RestSQuery that = (RestSQuery) o;
    if (query != null ? !query.equals(that.query) : that.query != null) return false;
    if (type != null ? !type.equals(that.type) : that.type != null) return false;
    return true;
  }

  @Override
  public int hashCode() {
    int result = query != null ? query.hashCode() : 0;
    result = 31 * result + (type != null ? type.hashCode() : 0);
    return result;
  }

  @Override
  public String toString() {
    return "RestSQuery{" +
      "query='" + query + '\'' +
      ", type='" + type + '\'' +
      '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy