
de.adorsys.psd2.model.LinksDownload Maven / Gradle / Ivy
package de.adorsys.psd2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.HashMap;
import java.util.Objects;
/**
* A list of hyperlinks to be recognised by the TPP. Type of links admitted in this response: - \"download\": a link to a resource, where the transaction report might be downloaded from in case where transaction reports have a huge size. Remark: This feature shall only be used where camt-data is requested which has a huge size.
*/
@ApiModel(description = "A list of hyperlinks to be recognised by the TPP. Type of links admitted in this response: - \"download\": a link to a resource, where the transaction report might be downloaded from in case where transaction reports have a huge size. Remark: This feature shall only be used where camt-data is requested which has a huge size. ")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2021-05-24T13:41:46.273636+03:00[Europe/Kiev]")
public class LinksDownload extends HashMap {
@JsonProperty("download")
private HrefType download = null;
public LinksDownload download(HrefType download) {
this.download = download;
return this;
}
/**
* Get download
* @return download
**/
@ApiModelProperty(required = true, value = "")
@NotNull
@Valid
@JsonProperty("download")
public HrefType getDownload() {
return download;
}
public void setDownload(HrefType download) {
this.download = download;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
if (!super.equals(o)) {
return false;
}
LinksDownload _linksDownload = (LinksDownload) o;
return Objects.equals(this.download, _linksDownload.download);
}
@Override
public int hashCode() {
return Objects.hash(download, super.hashCode());
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinksDownload {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" download: ").append(toIndentedString(download)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy