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

org.zendesk.client.v2.model.Condition Maven / Gradle / Ivy

The newest version!
package org.zendesk.client.v2.model;

import java.io.Serializable;

/**
 * @author Sandeep Kaul ([email protected])
 */
public class Condition implements Serializable {

  private static final long serialVersionUID = 1L;

  private String field;
  private String operator;
  private String value;

  public Condition() {}

  public Condition(String field, String operator, String value) {
    this.field = field;
    this.operator = operator;
    this.value = value;
  }

  public String getField() {
    return field;
  }

  public void setField(String field) {
    this.field = field;
  }

  public String getOperator() {
    return operator;
  }

  public void setOperator(String operator) {
    this.operator = operator;
  }

  public String getValue() {
    return value;
  }

  public void setValue(String value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return "Condition" + "{field=" + field + ", operator=" + operator + ", value=" + value + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy