001package org.hl7.fhir.validation.cli.model;
002
003import com.fasterxml.jackson.annotation.JsonProperty;
004
005public class FileInfo {
006
007  @JsonProperty("fileName")
008  private String fileName;
009
010  @JsonProperty("fileContent")
011  private String fileContent;
012
013  @JsonProperty("fileType")
014  private String fileType;
015
016  @JsonProperty("fileName")
017  public String getFileName() {
018    return fileName;
019  }
020
021  public FileInfo() {}
022
023  public FileInfo(String fileName, String fileContent, String fileType) {
024    this.fileName = fileName;
025    this.fileContent = fileContent;
026    this.fileType = fileType;
027  }
028
029  @JsonProperty("fileName")
030  public FileInfo setFileName(String fileName) {
031    this.fileName = fileName;
032    return this;
033  }
034
035  @JsonProperty("fileContent")
036  public String getFileContent() {
037    return fileContent;
038  }
039
040  @JsonProperty("fileContent")
041  public FileInfo setFileContent(String fileContent) {
042    this.fileContent = fileContent;
043    return this;
044  }
045
046  @JsonProperty("fileType")
047  public String getFileType() {
048    return fileType;
049  }
050
051  @JsonProperty("fileType")
052  public FileInfo setFileType(String fileType) {
053    this.fileType = fileType;
054    return this;
055  }
056
057  @Override
058  public String toString() {
059    return "FileInfo{" +
060      "fileName='" + fileName + '\'' +
061      ", fileContent='" + fileContent + '\'' +
062      ", fileType='" + fileType + '\'' +
063      '}';
064  }
065}