summaryrefslogtreecommitdiffstats
path: root/ms/gra/gra-app/src/main/java/org/onap/sdnc/apps/ms/gra/swagger/model/GenericResourceApiVnftopologyVnfTopology.java
blob: 8b6d221874fce9f69d2a2aae1fd5a29149fd7fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
package org.onap.sdnc.apps.ms.gra.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiOnapModelInformation;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiOnapmodelinformationOnapModelInformation;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiParam;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiRegionIdentifier;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfResourceAssignments;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfTopologyIdentifierStructure;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfresourceassignmentsVnfResourceAssignments;
import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnftopologyidentifierstructureVnfTopologyIdentifierStructure;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;

/**
 * GenericResourceApiVnftopologyVnfTopology
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-13T13:26:44.236-04:00")
@JsonRootName("vnf-topology")
public class GenericResourceApiVnftopologyVnfTopology   {
  @JsonProperty("onap-model-information")
  private GenericResourceApiOnapmodelinformationOnapModelInformation onapModelInformation = null;

  @JsonProperty("aic-clli")
  private String aicClli = null;

  @JsonProperty("aic-cloud-region")
  private String aicCloudRegion = null;

  @JsonProperty("cloud-owner")
  private String cloudOwner = null;

  @JsonProperty("tenant")
  private String tenant = null;

  @JsonProperty("vnf-resource-assignments")
  private GenericResourceApiVnfresourceassignmentsVnfResourceAssignments vnfResourceAssignments = null;

  @JsonProperty("vnf-topology-identifier-structure")
  private GenericResourceApiVnftopologyidentifierstructureVnfTopologyIdentifierStructure vnfTopologyIdentifierStructure = null;

  @JsonProperty("vnf-parameters-data")
  private GenericResourceApiParam vnfParametersData = null;

  @JsonProperty("sdnc-generated-cloud-resources")
  private Boolean sdncGeneratedCloudResources = null;

  public GenericResourceApiVnftopologyVnfTopology onapModelInformation(GenericResourceApiOnapmodelinformationOnapModelInformation onapModelInformation) {
    this.onapModelInformation = onapModelInformation;
    return this;
  }

  /**
   * Get onapModelInformation
   * @return onapModelInformation
  **/
  @ApiModelProperty(value = "")

  @Valid

  public GenericResourceApiOnapmodelinformationOnapModelInformation getOnapModelInformation() {
    return onapModelInformation;
  }

  public void setOnapModelInformation(GenericResourceApiOnapmodelinformationOnapModelInformation onapModelInformation) {
    this.onapModelInformation = onapModelInformation;
  }

  public GenericResourceApiVnftopologyVnfTopology aicClli(String aicClli) {
    this.aicClli = aicClli;
    return this;
  }

  /**
   * Not expected to be used
   * @return aicClli
  **/
  @ApiModelProperty(value = "Not expected to be used")


  public String getAicClli() {
    return aicClli;
  }

  public void setAicClli(String aicClli) {
    this.aicClli = aicClli;
  }

  public GenericResourceApiVnftopologyVnfTopology aicCloudRegion(String aicCloudRegion) {
    this.aicCloudRegion = aicCloudRegion;
    return this;
  }

  /**
   * The AIC cloud region which maps to contrail versions
   * @return aicCloudRegion
  **/
  @ApiModelProperty(value = "The AIC cloud region which maps to contrail versions")


  public String getAicCloudRegion() {
    return aicCloudRegion;
  }

  public void setAicCloudRegion(String aicCloudRegion) {
    this.aicCloudRegion = aicCloudRegion;
  }

  public GenericResourceApiVnftopologyVnfTopology cloudOwner(String cloudOwner) {
    this.cloudOwner = cloudOwner;
    return this;
  }

  /**
   * Get cloudOwner
   * @return cloudOwner
  **/
  @ApiModelProperty(value = "")


  public String getCloudOwner() {
    return cloudOwner;
  }

  public void setCloudOwner(String cloudOwner) {
    this.cloudOwner = cloudOwner;
  }

  public GenericResourceApiVnftopologyVnfTopology tenant(String tenant) {
    this.tenant = tenant;
    return this;
  }

  /**
   * Get tenant
   * @return tenant
  **/
  @ApiModelProperty(value = "")


  public String getTenant() {
    return tenant;
  }

  public void setTenant(String tenant) {
    this.tenant = tenant;
  }

  public GenericResourceApiVnftopologyVnfTopology vnfResourceAssignments(GenericResourceApiVnfresourceassignmentsVnfResourceAssignments vnfResourceAssignments) {
    this.vnfResourceAssignments = vnfResourceAssignments;
    return this;
  }

  /**
   * Get vnfResourceAssignments
   * @return vnfResourceAssignments
  **/
  @ApiModelProperty(value = "")

  @Valid

  public GenericResourceApiVnfresourceassignmentsVnfResourceAssignments getVnfResourceAssignments() {
    return vnfResourceAssignments;
  }

  public void setVnfResourceAssignments(GenericResourceApiVnfresourceassignmentsVnfResourceAssignments vnfResourceAssignments) {
    this.vnfResourceAssignments = vnfResourceAssignments;
  }

  public GenericResourceApiVnftopologyVnfTopology vnfTopologyIdentifierStructure(GenericResourceApiVnftopologyidentifierstructureVnfTopologyIdentifierStructure vnfTopologyIdentifierStructure) {
    this.vnfTopologyIdentifierStructure = vnfTopologyIdentifierStructure;
    return this;
  }

  /**
   * Get vnfTopologyIdentifierStructure
   * @return vnfTopologyIdentifierStructure
  **/
  @ApiModelProperty(value = "")

  @Valid

  public GenericResourceApiVnftopologyidentifierstructureVnfTopologyIdentifierStructure getVnfTopologyIdentifierStructure() {
    return vnfTopologyIdentifierStructure;
  }

  public void setVnfTopologyIdentifierStructure(GenericResourceApiVnftopologyidentifierstructureVnfTopologyIdentifierStructure vnfTopologyIdentifierStructure) {
    this.vnfTopologyIdentifierStructure = vnfTopologyIdentifierStructure;
  }

  public GenericResourceApiVnftopologyVnfTopology vnfParametersData(GenericResourceApiParam vnfParametersData) {
    this.vnfParametersData = vnfParametersData;
    return this;
  }

  /**
   * Get vnfParametersData
   * @return vnfParametersData
  **/
  @ApiModelProperty(value = "")

  @Valid

  public GenericResourceApiParam getVnfParametersData() {
    return vnfParametersData;
  }

  public void setVnfParametersData(GenericResourceApiParam vnfParametersData) {
    this.vnfParametersData = vnfParametersData;
  }

  public GenericResourceApiVnftopologyVnfTopology sdncGeneratedCloudResources(Boolean sdncGeneratedCloudResources) {
    this.sdncGeneratedCloudResources = sdncGeneratedCloudResources;
    return this;
  }

  /**
   * Indicate if source is sdnc generated cloud param. When true, the parameters are literal HEAT template parameter names;When false, the parameters need to be converted to HEAT format
   * @return sdncGeneratedCloudResources
  **/
  @ApiModelProperty(value = "Indicate if source is sdnc generated cloud param. When true, the parameters are literal HEAT template parameter names;When false, the parameters need to be converted to HEAT format")


  public Boolean isSdncGeneratedCloudResources() {
    return sdncGeneratedCloudResources;
  }

  public void setSdncGeneratedCloudResources(Boolean sdncGeneratedCloudResources) {
    this.sdncGeneratedCloudResources = sdncGeneratedCloudResources;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GenericResourceApiVnftopologyVnfTopology genericResourceApiVnftopologyVnfTopology = (GenericResourceApiVnftopologyVnfTopology) o;
    return Objects.equals(this.onapModelInformation, genericResourceApiVnftopologyVnfTopology.onapModelInformation) &&
        Objects.equals(this.aicClli, genericResourceApiVnftopologyVnfTopology.aicClli) &&
        Objects.equals(this.aicCloudRegion, genericResourceApiVnftopologyVnfTopology.aicCloudRegion) &&
        Objects.equals(this.cloudOwner, genericResourceApiVnftopologyVnfTopology.cloudOwner) &&
        Objects.equals(this.tenant, genericResourceApiVnftopologyVnfTopology.tenant) &&
        Objects.equals(this.vnfResourceAssignments, genericResourceApiVnftopologyVnfTopology.vnfResourceAssignments) &&
        Objects.equals(this.vnfTopologyIdentifierStructure, genericResourceApiVnftopologyVnfTopology.vnfTopologyIdentifierStructure) &&
        Objects.equals(this.vnfParametersData, genericResourceApiVnftopologyVnfTopology.vnfParametersData) &&
        Objects.equals(this.sdncGeneratedCloudResources, genericResourceApiVnftopologyVnfTopology.sdncGeneratedCloudResources);
  }

  @Override
  public int hashCode() {
    return Objects.hash(onapModelInformation, aicClli, aicCloudRegion, cloudOwner, tenant, vnfResourceAssignments, vnfTopologyIdentifierStructure, vnfParametersData, sdncGeneratedCloudResources);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GenericResourceApiVnftopologyVnfTopology {\n");
    
    sb.append("    onapModelInformation: ").append(toIndentedString(onapModelInformation)).append("\n");
    sb.append("    aicClli: ").append(toIndentedString(aicClli)).append("\n");
    sb.append("    aicCloudRegion: ").append(toIndentedString(aicCloudRegion)).append("\n");
    sb.append("    cloudOwner: ").append(toIndentedString(cloudOwner)).append("\n");
    sb.append("    tenant: ").append(toIndentedString(tenant)).append("\n");
    sb.append("    vnfResourceAssignments: ").append(toIndentedString(vnfResourceAssignments)).append("\n");
    sb.append("    vnfTopologyIdentifierStructure: ").append(toIndentedString(vnfTopologyIdentifierStructure)).append("\n");
    sb.append("    vnfParametersData: ").append(toIndentedString(vnfParametersData)).append("\n");
    sb.append("    sdncGeneratedCloudResources: ").append(toIndentedString(sdncGeneratedCloudResources)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}