Skip to content

Commit 384d5fe

Browse files
avijenkinsavijenkins
andauthored
Updated assets for vro (#321)
Signed-off-by: avijenkins <svc.avi-jenkins@broadcom.com> Co-authored-by: avijenkins <svc.avi-jenkins@broadcom.com>
1 parent 838a6bf commit 384d5fe

8 files changed

Lines changed: 121 additions & 600 deletions

File tree

o11nplugin-vro-core/src/main/java/com/vmware/avi/vro/Constants.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public class Constants {
2222
public static final String FINDER_VRO_ALBSERVICESCASEATTACHMENT = "ALBServicesCaseAttachment";
2323
public static final String FINDER_VRO_ALBSERVICESCONFIG = "ALBServicesConfig";
2424
public static final String FINDER_VRO_ALBSERVICESFILEDOWNLOAD = "ALBServicesFileDownload";
25-
public static final String FINDER_VRO_ALBSERVICESFILEDOWNLOADMETADATA = "ALBServicesFileDownloadMetadata";
2625
public static final String FINDER_VRO_ALBSERVICESFILEUPLOAD = "ALBServicesFileUpload";
2726
public static final String FINDER_VRO_ALBSERVICESJOB = "ALBServicesJob";
2827
public static final String FINDER_VRO_ALBSERVICESJOBPARAM = "ALBServicesJobParam";

o11nplugin-vro-core/src/main/java/com/vmware/avi/vro/model/ALBServicesFileDownload.java

Lines changed: 3 additions & 293 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
66
import com.fasterxml.jackson.annotation.JsonInclude;
77
import com.fasterxml.jackson.annotation.JsonInclude.Include;
8-
import com.vmware.avi.vro.model.ALBServicesFileDownloadMetadata;
98
import com.vmware.o11n.plugin.sdk.annotation.VsoFinder;
109
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod;
1110
import com.vmware.o11n.plugin.sdk.annotation.VsoObject;
@@ -25,257 +24,11 @@
2524
@JsonIgnoreProperties(ignoreUnknown = true)
2625
@Service
2726
public class ALBServicesFileDownload extends AviRestResource {
28-
@JsonProperty("destination_dir")
29-
@JsonInclude(Include.NON_NULL)
30-
private String destinationDir;
31-
32-
@JsonProperty("file_type")
33-
@JsonInclude(Include.NON_NULL)
34-
private String fileType;
35-
36-
@JsonProperty("file_uri")
37-
@JsonInclude(Include.NON_NULL)
38-
private String fileUri;
39-
40-
@JsonProperty("message")
41-
@JsonInclude(Include.NON_NULL)
42-
private String message;
43-
44-
@JsonProperty("metadata")
45-
@JsonInclude(Include.NON_NULL)
46-
private ALBServicesFileDownloadMetadata metadata;
47-
48-
@JsonProperty("name")
49-
@JsonInclude(Include.NON_NULL)
50-
private String name;
51-
52-
@JsonProperty("status")
53-
@JsonInclude(Include.NON_NULL)
54-
private String status;
55-
56-
@JsonProperty("tenant_ref")
57-
@JsonInclude(Include.NON_NULL)
58-
private String tenantRef;
59-
6027
@JsonProperty("url")
6128
@JsonInclude(Include.NON_NULL)
6229
private String url = "url";
6330

64-
@JsonProperty("uuid")
65-
@JsonInclude(Include.NON_NULL)
66-
private String uuid;
67-
68-
69-
70-
/**
71-
* This is the getter method this will return the attribute value.
72-
* Destination of the file to be saved.
73-
* Field introduced in 30.2.1.
74-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
75-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
76-
* @return destinationDir
77-
*/
78-
@VsoMethod
79-
public String getDestinationDir() {
80-
return destinationDir;
81-
}
82-
83-
/**
84-
* This is the setter method to the attribute.
85-
* Destination of the file to be saved.
86-
* Field introduced in 30.2.1.
87-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
88-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
89-
* @param destinationDir set the destinationDir.
90-
*/
91-
@VsoMethod
92-
public void setDestinationDir(String destinationDir) {
93-
this.destinationDir = destinationDir;
94-
}
9531

96-
/**
97-
* This is the getter method this will return the attribute value.
98-
* Software / crs/ inventory.
99-
* Field introduced in 30.2.1.
100-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
101-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
102-
* @return fileType
103-
*/
104-
@VsoMethod
105-
public String getFileType() {
106-
return fileType;
107-
}
108-
109-
/**
110-
* This is the setter method to the attribute.
111-
* Software / crs/ inventory.
112-
* Field introduced in 30.2.1.
113-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
114-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
115-
* @param fileType set the fileType.
116-
*/
117-
@VsoMethod
118-
public void setFileType(String fileType) {
119-
this.fileType = fileType;
120-
}
121-
122-
/**
123-
* This is the getter method this will return the attribute value.
124-
* File uri on the cloud bucket.
125-
* Field introduced in 30.2.1.
126-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
127-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
128-
* @return fileUri
129-
*/
130-
@VsoMethod
131-
public String getFileUri() {
132-
return fileUri;
133-
}
134-
135-
/**
136-
* This is the setter method to the attribute.
137-
* File uri on the cloud bucket.
138-
* Field introduced in 30.2.1.
139-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
140-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
141-
* @param fileUri set the fileUri.
142-
*/
143-
@VsoMethod
144-
public void setFileUri(String fileUri) {
145-
this.fileUri = fileUri;
146-
}
147-
148-
/**
149-
* This is the getter method this will return the attribute value.
150-
* Download's success / failure message.
151-
* Field introduced in 30.2.1.
152-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
153-
* @return message
154-
*/
155-
@VsoMethod
156-
public String getMessage() {
157-
return message;
158-
}
159-
160-
/**
161-
* This is the setter method to the attribute.
162-
* Download's success / failure message.
163-
* Field introduced in 30.2.1.
164-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
165-
* @param message set the message.
166-
*/
167-
@VsoMethod
168-
public void setMessage(String message) {
169-
this.message = message;
170-
}
171-
172-
/**
173-
* This is the getter method this will return the attribute value.
174-
* Metadata of the file from pulse.
175-
* Field introduced in 30.2.1.
176-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
177-
* @return metadata
178-
*/
179-
@VsoMethod
180-
public ALBServicesFileDownloadMetadata getMetadata() {
181-
return metadata;
182-
}
183-
184-
/**
185-
* This is the setter method to the attribute.
186-
* Metadata of the file from pulse.
187-
* Field introduced in 30.2.1.
188-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
189-
* @param metadata set the metadata.
190-
*/
191-
@VsoMethod
192-
public void setMetadata(ALBServicesFileDownloadMetadata metadata) {
193-
this.metadata = metadata;
194-
}
195-
196-
/**
197-
* This is the getter method this will return the attribute value.
198-
* The name of the file with which it is saved to the disk.
199-
* Field introduced in 30.2.1.
200-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
201-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
202-
* @return name
203-
*/
204-
@VsoMethod
205-
public String getName() {
206-
return name;
207-
}
208-
209-
/**
210-
* This is the setter method to the attribute.
211-
* The name of the file with which it is saved to the disk.
212-
* Field introduced in 30.2.1.
213-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
214-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
215-
* @param name set the name.
216-
*/
217-
@VsoMethod
218-
public void setName(String name) {
219-
this.name = name;
220-
}
221-
222-
/**
223-
* This is the getter method this will return the attribute value.
224-
* Status of file download.
225-
* Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO,
226-
* SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN,
227-
* SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_FAILED...
228-
* Field introduced in 30.2.1.
229-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
230-
* @return status
231-
*/
232-
@VsoMethod
233-
public String getStatus() {
234-
return status;
235-
}
236-
237-
/**
238-
* This is the setter method to the attribute.
239-
* Status of file download.
240-
* Enum options - SYSERR_SUCCESS, SYSERR_FAILURE, SYSERR_OUT_OF_MEMORY, SYSERR_NO_ENT, SYSERR_INVAL, SYSERR_ACCESS, SYSERR_FAULT, SYSERR_IO,
241-
* SYSERR_TIMEOUT, SYSERR_NOT_SUPPORTED, SYSERR_NOT_READY, SYSERR_UPGRADE_IN_PROGRESS, SYSERR_WARM_START_IN_PROGRESS, SYSERR_TRY_AGAIN,
242-
* SYSERR_NOT_UPGRADING, SYSERR_PENDING, SYSERR_EVENT_GEN_FAILURE, SYSERR_CONFIG_PARAM_MISSING, SYSERR_RANGE, SYSERR_FAILED...
243-
* Field introduced in 30.2.1.
244-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
245-
* @param status set the status.
246-
*/
247-
@VsoMethod
248-
public void setStatus(String status) {
249-
this.status = status;
250-
}
251-
252-
/**
253-
* This is the getter method this will return the attribute value.
254-
* Tenant uuid associated with the object.
255-
* It is a reference to an object of type tenant.
256-
* Field introduced in 30.2.1.
257-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
258-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
259-
* @return tenantRef
260-
*/
261-
@VsoMethod
262-
public String getTenantRef() {
263-
return tenantRef;
264-
}
265-
266-
/**
267-
* This is the setter method to the attribute.
268-
* Tenant uuid associated with the object.
269-
* It is a reference to an object of type tenant.
270-
* Field introduced in 30.2.1.
271-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
272-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
273-
* @param tenantRef set the tenantRef.
274-
*/
275-
@VsoMethod
276-
public void setTenantRef(String tenantRef) {
277-
this.tenantRef = tenantRef;
278-
}
27932
/**
28033
* This is the getter method this will return the attribute value.
28134
* Avi controller URL of the object.
@@ -296,35 +49,9 @@ public void setUrl(String url) {
29649
this.url = url;
29750
}
29851

299-
/**
300-
* This is the getter method this will return the attribute value.
301-
* Unique id of the object.
302-
* Field introduced in 30.2.1.
303-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
304-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
305-
* @return uuid
306-
*/
307-
@VsoMethod
308-
public String getUuid() {
309-
return uuid;
310-
}
311-
312-
/**
313-
* This is the setter method to the attribute.
314-
* Unique id of the object.
315-
* Field introduced in 30.2.1.
316-
* Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
317-
* Default value when not specified in API or module is interpreted by Avi Controller as null.
318-
* @param uuid set the uuid.
319-
*/
320-
@VsoMethod
321-
public void setUuid(String uuid) {
322-
this.uuid = uuid;
323-
}
324-
32552

32653
public String getObjectID() {
327-
return name + "(" + uuid + ")";
54+
return "ALBServicesFileDownload" + "(" + uuid + ")";
32855
}
32956

33057
@Override
@@ -336,31 +63,14 @@ public boolean equals(java.lang.Object o) {
33663
return false;
33764
}
33865
ALBServicesFileDownload objALBServicesFileDownload = (ALBServicesFileDownload) o;
339-
return Objects.equals(this.uuid, objALBServicesFileDownload.uuid)&&
340-
Objects.equals(this.name, objALBServicesFileDownload.name)&&
341-
Objects.equals(this.tenantRef, objALBServicesFileDownload.tenantRef)&&
342-
Objects.equals(this.fileType, objALBServicesFileDownload.fileType)&&
343-
Objects.equals(this.metadata, objALBServicesFileDownload.metadata)&&
344-
Objects.equals(this.status, objALBServicesFileDownload.status)&&
345-
Objects.equals(this.message, objALBServicesFileDownload.message)&&
346-
Objects.equals(this.destinationDir, objALBServicesFileDownload.destinationDir)&&
347-
Objects.equals(this.fileUri, objALBServicesFileDownload.fileUri);
66+
return ;
34867
}
34968

35069
@Override
35170
public String toString() {
35271
StringBuilder sb = new StringBuilder();
35372
sb.append("class ALBServicesFileDownload {\n");
354-
sb.append(" destinationDir: ").append(toIndentedString(destinationDir)).append("\n");
355-
sb.append(" fileType: ").append(toIndentedString(fileType)).append("\n");
356-
sb.append(" fileUri: ").append(toIndentedString(fileUri)).append("\n");
357-
sb.append(" message: ").append(toIndentedString(message)).append("\n");
358-
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
359-
sb.append(" name: ").append(toIndentedString(name)).append("\n");
360-
sb.append(" status: ").append(toIndentedString(status)).append("\n");
361-
sb.append(" tenantRef: ").append(toIndentedString(tenantRef)).append("\n");
362-
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
363-
sb.append("}");
73+
sb.append("}");
36474
return sb.toString();
36575
}
36676

0 commit comments

Comments
 (0)