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_id")
12 private String mtGlossaryId;
13
14 @JsonProperty("mt_model_id")
15 private String mtModelId;
16
17
18
19
20 public MtResources mtGlossaryId(String mtGlossaryId) {
21 this.mtGlossaryId = mtGlossaryId;
22 return this;
23 }
24
25 @ApiModelProperty(example = "projects/my-project/locations/us-central1/glossaries/12345", value = "Full glossary ID (containing project ID and location ID)")
26 @JsonProperty("mt_glossary_id")
27 public String getMtGlossaryId() {
28 return mtGlossaryId;
29 }
30
31 public void setMtGlossaryId(String mtGlossaryId) {
32 this.mtGlossaryId = mtGlossaryId;
33 }
34
35
36
37
38 public MtResources mtModelId(String mtModelId) {
39 this.mtModelId = mtModelId;
40 return this;
41 }
42
43 @ApiModelProperty(example = "projects/my-project/locations/us-central1/models/12345", required = true, value = "Full model ID (containing project ID and location ID)")
44 @JsonProperty("mt_model_id")
45 public String getMtModelId() {
46 return mtModelId;
47 }
48
49 public void setMtModelId(String mtModelId) {
50 this.mtModelId = mtModelId;
51 }
52
53 @Override
54 public boolean equals(Object o) {
55 if (this == o) {
56 return true;
57 }
58 if (o == null || getClass() != o.getClass()) {
59 return false;
60 }
61 MtResources mtResources = (MtResources) o;
62 return Objects.equals(mtGlossaryId, mtResources.mtGlossaryId) &&
63 Objects.equals(mtModelId, mtResources.mtModelId);
64 }
65
66 @Override
67 public int hashCode() {
68 return Objects.hash(mtGlossaryId, mtModelId);
69 }
70
71 @Override
72 public String toString() {
73 StringBuilder sb = new StringBuilder();
74 sb.append("class MtResources {\n");
75
76 sb.append(" mtGlossaryId: ").append(toIndentedString(mtGlossaryId)).append("\n");
77 sb.append(" mtModelId: ").append(toIndentedString(mtModelId)).append("\n");
78 sb.append("}");
79 return sb.toString();
80 }
81
82
83
84
85
86 private String toIndentedString(Object o) {
87 if (o == null) {
88 return "null";
89 }
90 return o.toString().replace("\n", "\n ");
91 }
92 }