blob: ec375b6212fe6ff3fc11f76a59a6836f1434a578 (
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
|
package org.onap.vid.changeManagement;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonPropertyOrder({
"requestDetails",
"requestType"
})
public class ChangeManagementRequest {
public static class MsoChangeManagementRequest {
public final static String SOFTWARE_UPDATE = "inPlaceSoftwareUpdate";
public static final String REPLACE = "replace";
public final static String CONFIG_UPDATE = "applyUpdatedConfig";
}
public final static String VNF_IN_PLACE_SOFTWARE_UPDATE = "vnf in place software update";
public static final String UPDATE = "update";
public static final String REPLACE = "replace";
public final static String CONFIG_UPDATE = "vnf config update";
@JsonProperty("requestDetails")
private List<RequestDetails> requestDetails;
@JsonProperty("requestType")
private String requestType;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("requestDetails")
public List<RequestDetails> getRequestDetails() {
return requestDetails;
}
@JsonProperty("requestDetails")
public void setRequestDetails(List<RequestDetails> requestDetails) {
this.requestDetails = requestDetails;
}
@JsonProperty("requestType")
public String getRequestType() {
return requestType;
}
@JsonProperty("requestType")
public void setRequestType(String requestType) {
this.requestType = requestType;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
|