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

org.knowm.xchange.bitcoinde.v4.dto.BitcoindeMaintenance Maven / Gradle / Ivy

package org.knowm.xchange.bitcoinde.v4.dto;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import lombok.Value;

@Value
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BitcoindeMaintenance {

  String message;
  Date start;
  Date end;

  @JsonCreator
  public BitcoindeMaintenance(
      @JsonProperty("message") String message,
      @JsonProperty("start") Date start,
      @JsonProperty("end") Date end) {
    this.message = message;
    this.start = start;
    this.end = end;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy