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.ApiModelProperty;
8
9 @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.15.0")
10 public class MtResources {
11 @JsonProperty("mt_glossary_project_id")
12 private String mtGlossaryProjectId = "";
13
14 @JsonProperty("mt_glossary_project_location")
15 private String mtGlossaryProjectLocation = "us-central1";
16
17 @JsonProperty("mt_glossary_id")
18 private String mtGlossaryId = "";
19
20 @JsonProperty("mt_model_project_id")
21 private String mtModelProjectId = "";
22
23 @JsonProperty("mt_model_project_location")
24 private String mtModelProjectLocation = "us-central1";
25
26 @JsonProperty("mt_model_id")
27 private String mtModelId = "";
28
29
30
31
32 public MtResources mtGlossaryProjectId(String mtGlossaryProjectId) {
33 this.mtGlossaryProjectId = mtGlossaryProjectId;
34 return this;
35 }
36
37 @ApiModelProperty(value = "ID of the client's glossary project to be used by the MT engine.")
38 @JsonProperty("mt_glossary_project_id")
39 public String getMtGlossaryProjectId() {
40 return mtGlossaryProjectId;
41 }
42
43 public void setMtGlossaryProjectId(String mtGlossaryProjectId) {
44 this.mtGlossaryProjectId = mtGlossaryProjectId;
45 }
46
47
48
49
50 public MtResources mtGlossaryProjectLocation(String mtGlossaryProjectLocation) {
51 this.mtGlossaryProjectLocation = mtGlossaryProjectLocation;
52 return this;
53 }
54
55 @ApiModelProperty(value = "Location of the client's glossary project to be used by the MT engine.")
56 @JsonProperty("mt_glossary_project_location")
57 public String getMtGlossaryProjectLocation() {
58 return mtGlossaryProjectLocation;
59 }
60
61 public void setMtGlossaryProjectLocation(String mtGlossaryProjectLocation) {
62 this.mtGlossaryProjectLocation = mtGlossaryProjectLocation;
63 }
64
65
66
67
68 public MtResources mtGlossaryId(String mtGlossaryId) {
69 this.mtGlossaryId = mtGlossaryId;
70 return this;
71 }
72
73 @ApiModelProperty(value = "ID of the glossary to be used by the MT engine.")
74 @JsonProperty("mt_glossary_id")
75 public String getMtGlossaryId() {
76 return mtGlossaryId;
77 }
78
79 public void setMtGlossaryId(String mtGlossaryId) {
80 this.mtGlossaryId = mtGlossaryId;
81 }
82
83
84
85
86 public MtResources mtModelProjectId(String mtModelProjectId) {
87 this.mtModelProjectId = mtModelProjectId;
88 return this;
89 }
90
91 @ApiModelProperty(value = "ID of the client's model project to be used by the MT engine.")
92 @JsonProperty("mt_model_project_id")
93 public String getMtModelProjectId() {
94 return mtModelProjectId;
95 }
96
97 public void setMtModelProjectId(String mtModelProjectId) {
98 this.mtModelProjectId = mtModelProjectId;
99 }
100
101
102
103
104 public MtResources mtModelProjectLocation(String mtModelProjectLocation) {
105 this.mtModelProjectLocation = mtModelProjectLocation;
106 return this;
107 }
108
109 @ApiModelProperty(value = "Location of the client's model project to be used by the MT engine.")
110 @JsonProperty("mt_model_project_location")
111 public String getMtModelProjectLocation() {
112 return mtModelProjectLocation;
113 }
114
115 public void setMtModelProjectLocation(String mtModelProjectLocation) {
116 this.mtModelProjectLocation = mtModelProjectLocation;
117 }
118
119
120
121
122 public MtResources mtModelId(String mtModelId) {
123 this.mtModelId = mtModelId;
124 return this;
125 }
126
127 @ApiModelProperty(required = true, value = "ID of the model to be used by the MT engine.")
128 @JsonProperty("mt_model_id")
129 public String getMtModelId() {
130 return mtModelId;
131 }
132
133 public void setMtModelId(String mtModelId) {
134 this.mtModelId = mtModelId;
135 }
136
137 @Override
138 public boolean equals(Object o) {
139 if (this == o) {
140 return true;
141 }
142 if (o == null || getClass() != o.getClass()) {
143 return false;
144 }
145 MtResources mtResources = (MtResources) o;
146 return Objects.equals(mtGlossaryProjectId, mtResources.mtGlossaryProjectId) &&
147 Objects.equals(mtGlossaryProjectLocation, mtResources.mtGlossaryProjectLocation) &&
148 Objects.equals(mtGlossaryId, mtResources.mtGlossaryId) &&
149 Objects.equals(mtModelProjectId, mtResources.mtModelProjectId) &&
150 Objects.equals(mtModelProjectLocation, mtResources.mtModelProjectLocation) &&
151 Objects.equals(mtModelId, mtResources.mtModelId);
152 }
153
154 @Override
155 public int hashCode() {
156 return Objects.hash(mtGlossaryProjectId, mtGlossaryProjectLocation, mtGlossaryId,
157 mtModelProjectId, mtModelProjectLocation, mtModelId);
158 }
159
160 @Override
161 public String toString() {
162 StringBuilder sb = new StringBuilder();
163 sb.append("class MtResources {\n");
164
165 sb.append(" mtGlossaryProjectId: ").append(toIndentedString(mtGlossaryProjectId))
166 .append("\n");
167 sb.append(" mtGlossaryProjectLocation: ").append(toIndentedString(mtGlossaryProjectLocation))
168 .append("\n");
169 sb.append(" mtGlossaryId: ").append(toIndentedString(mtGlossaryId)).append("\n");
170 sb.append(" mtModelProjectId: ").append(toIndentedString(mtModelProjectId)).append("\n");
171 sb.append(" mtModelProjectLocation: ").append(toIndentedString(mtModelProjectLocation))
172 .append("\n");
173 sb.append(" mtModelId: ").append(toIndentedString(mtModelId)).append("\n");
174 sb.append("}");
175 return sb.toString();
176 }
177
178
179
180
181
182 private String toIndentedString(Object o) {
183 if (o == null) {
184 return "null";
185 }
186 return o.toString().replace("\n", "\n ");
187 }
188 }