class TenorTenorParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable {

  public static TenorTenorParameterMetadata of(Tenor expiryTenor, Tenor underlyingTenor) {
    String label = Pair.of(expiryTenor, underlyingTenor).toString();
    return new TenorTenorParameterMetadata(expiryTenor, underlyingTenor, label);
  }

  private  TenorTenorParameterMetadata(
      Tenor expiryTenor,
      Tenor underlyingTenor,
      String label);

}