Config Assign
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / client / cds / beans / ConfigDeployRequestVnf.java
1 package org.onap.so.client.cds.beans;
2
3 import com.fasterxml.jackson.annotation.JsonInclude;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
6
7 @JsonInclude(JsonInclude.Include.NON_NULL)
8 @JsonPropertyOrder({
9 "config-deploy-properties",
10 "resolution-key"
11 })
12 public class ConfigDeployRequestVnf {
13         @JsonProperty("resolution-key")
14         private String resolutionKey;
15
16         @JsonProperty("config-deploy-properties")
17         private ConfigDeployPropertiesForVnf configDeployPropertiesForVnf;
18
19         public String getResolutionKey() {
20                 return resolutionKey;
21         }
22
23         public void setResolutionKey(String resolutionKey) {
24                 this.resolutionKey = resolutionKey;
25         }
26
27         public ConfigDeployPropertiesForVnf getConfigDeployPropertiesForVnf() {
28                 return configDeployPropertiesForVnf;
29         }
30
31         public void setConfigDeployPropertiesForVnf(ConfigDeployPropertiesForVnf configDeployPropertiesForVnf) {
32                 this.configDeployPropertiesForVnf = configDeployPropertiesForVnf;
33         }
34
35         @Override
36         public String toString() {
37                 final StringBuilder sb = new StringBuilder("{\"config-deploy-request\":{");
38                 sb.append("\"resolution-key\":").append("\"").append(resolutionKey).append("\"");
39                 sb.append(", \"config-deploy-properties\":").append(configDeployPropertiesForVnf.toString());
40                 sb.append('}');
41                 sb.append('}');
42
43                 return sb.toString();
44         }
45
46 }