Artifact Content
Not logged in

Artifact ac3a727b9fbb085848eeae31e0581bcbc74dc7ce:


package org.interledger.ilp.ledger.adaptor.rest.json;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.net.URI;


/**
 * JSON model of connector information as would be exchanged with the REST ledger.
 */
public class JsonConnectorInfo {

  private URI id;
  private String name;

  @JsonProperty(value = "id")
  public URI getId() {
    return id;
  }

  @JsonProperty(value = "name")
  public String getName() {
    return name;
  }

  public void setId(URI id) {
    this.id = id;
  }

  public void setName(String name) {
    this.name = name;
  }

}