1 package com.acumenvelocity.ath.model;
2
3 import java.util.Objects;
4
5 import com.fasterxml.jackson.annotation.JsonProperty;
6
7 import io.swagger.annotations.ApiModel;
8 import io.swagger.annotations.ApiModelProperty;
9
10
11
12
13
14 @ApiModel(description = "Wrapper object for a single DocumentInfo.")
15 @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.15.0")
16 public class DocumentInfoWrapper {
17 @JsonProperty("document")
18 private DocumentInfo document;
19
20
21
22 public DocumentInfoWrapper document(DocumentInfo document) {
23 this.document = document;
24 return this;
25 }
26
27 @ApiModelProperty(required = true, value = "")
28 @JsonProperty("document")
29 public DocumentInfo getDocument() {
30 return document;
31 }
32
33 public void setDocument(DocumentInfo document) {
34 this.document = document;
35 }
36
37 @Override
38 public boolean equals(Object o) {
39 if (this == o) {
40 return true;
41 }
42 if (o == null || getClass() != o.getClass()) {
43 return false;
44 }
45 DocumentInfoWrapper documentInfoWrapper = (DocumentInfoWrapper) o;
46 return Objects.equals(document, documentInfoWrapper.document);
47 }
48
49 @Override
50 public int hashCode() {
51 return Objects.hash(document);
52 }
53
54 @Override
55 public String toString() {
56 StringBuilder sb = new StringBuilder();
57 sb.append("class DocumentInfoWrapper {\n");
58
59 sb.append(" document: ").append(toIndentedString(document)).append("\n");
60 sb.append("}");
61 return sb.toString();
62 }
63
64
65
66
67
68 private String toIndentedString(Object o) {
69 if (o == null) {
70 return "null";
71 }
72 return o.toString().replace("\n", "\n ");
73 }
74 }