class LockResult {

  @Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (!(other instanceof LockResult)) {
      return false;
    }

    LockResult that = (LockResult) other;

    return locked == that.locked;
  }

  @JsonCreator public  LockResult(@JsonProperty(value = "locked", required = true) boolean locked);

}