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

com.studerw.tda.model.account.CancelTime Maven / Gradle / Ivy

There is a newer version: 2.4.3
Show newest version
package com.studerw.tda.model.account;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class CancelTime implements Serializable {

  private final static long serialVersionUID = -1305424865253107676L;
  @JsonProperty("date")
  private String date;
  @JsonProperty("shortFormat")
  private Boolean shortFormat;
  @JsonAnySetter
  private Map otherFields = new HashMap<>();

  public String getDate() {
    return date;
  }

  public Boolean getShortFormat() {
    return shortFormat;
  }

  @JsonIgnore
  public Map getOtherFields() {
    return otherFields;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("date", date)
        .append("shortFormat", shortFormat)
        .append("otherFields", otherFields)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy