View Javadoc
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   * Wrapper object for Translation Memory information.
12   **/
13  
14  @ApiModel(description = "Wrapper object for Translation Memory information.")
15  @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.15.0")
16  public class TranslationMemoryInfoWrapper {
17    @JsonProperty("translation_memory_info")
18    private TranslationMemoryInfo translationMemoryInfo;
19  
20    /**
21     **/
22    public TranslationMemoryInfoWrapper translationMemoryInfo(
23        TranslationMemoryInfo translationMemoryInfo) {
24      this.translationMemoryInfo = translationMemoryInfo;
25      return this;
26    }
27  
28    @ApiModelProperty(required = true, value = "")
29    @JsonProperty("translation_memory_info")
30    public TranslationMemoryInfo getTranslationMemoryInfo() {
31      return translationMemoryInfo;
32    }
33  
34    public void setTranslationMemoryInfo(TranslationMemoryInfo translationMemoryInfo) {
35      this.translationMemoryInfo = translationMemoryInfo;
36    }
37  
38    @Override
39    public boolean equals(Object o) {
40      if (this == o) {
41        return true;
42      }
43      if (o == null || getClass() != o.getClass()) {
44        return false;
45      }
46      TranslationMemoryInfoWrapper translationMemoryInfoWrapper = (TranslationMemoryInfoWrapper) o;
47      return Objects.equals(translationMemoryInfo,
48          translationMemoryInfoWrapper.translationMemoryInfo);
49    }
50  
51    @Override
52    public int hashCode() {
53      return Objects.hash(translationMemoryInfo);
54    }
55  
56    @Override
57    public String toString() {
58      StringBuilder sb = new StringBuilder();
59      sb.append("class TranslationMemoryInfoWrapper {\n");
60  
61      sb.append("    translationMemoryInfo: ").append(toIndentedString(translationMemoryInfo))
62          .append("\n");
63      sb.append("}");
64      return sb.toString();
65    }
66  
67    /**
68     * Convert the given object to string with each line indented by 4 spaces
69     * (except the first line).
70     */
71    private String toIndentedString(Object o) {
72      if (o == null) {
73        return "null";
74      }
75      return o.toString().replace("\n", "\n    ");
76    }
77  }