Adding new LCM features to the client lib
[appc.git] / appc-client / client-kit / src / main / java / org / onap / appc / client / lcm / model / ActionIdentifiers.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 /**
26  * NOTE: This file is auto-generated and should not be changed manually.
27  */
28 package org.onap.appc.client.lcm.model;
29
30 import com.fasterxml.jackson.annotation.JsonProperty;
31
32 /**
33  * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
34  */
35 @javax.annotation.Generated(
36     value = {"client-kit/open-api-to-java.ftl"},
37     date = "2017-11-16T17:10:10.322Z",
38     comments = "Auto-generated from Open API specification")
39 public class ActionIdentifiers {
40
41     @JsonProperty("service-instance-id")
42     private String serviceInstanceId;
43
44     @JsonProperty("vnf-id")
45     private String vnfId;
46
47     @JsonProperty("vf-module-id")
48     private String vfModuleId;
49
50     @JsonProperty("vnfc-name")
51     private String vnfcName;
52
53     @JsonProperty("vserver-id")
54     private String vserverId;
55
56     /**
57      * identifies a specific service the command refers to. When multiple APP-C instances are used and applied to a subset of services, this will become significant . The field is mandatory when the vnf-id is empty
58      */
59     public String getServiceInstanceId() {
60         return serviceInstanceId;
61     }
62
63     /**
64      * identifies a specific service the command refers to. When multiple APP-C instances are used and applied to a subset of services, this will become significant . The field is mandatory when the vnf-id is empty
65      */
66     public void setServiceInstanceId(String serviceInstanceId) {
67         this.serviceInstanceId = serviceInstanceId;
68     }
69
70     /**
71      * identifies the VNF to which this action is to be applied(vnf-id uniquely identifies the service-instance referred to). Note that some actions are applied to multiple VNFs in the same service. When this is the case, vnf-id may be left out, but service-instance-id must appear. The field is mandatory when service-instance-id is empty
72      */
73     public String getVnfId() {
74         return vnfId;
75     }
76
77     /**
78      * identifies the VNF to which this action is to be applied(vnf-id uniquely identifies the service-instance referred to). Note that some actions are applied to multiple VNFs in the same service. When this is the case, vnf-id may be left out, but service-instance-id must appear. The field is mandatory when service-instance-id is empty
79      */
80     public void setVnfId(String vnfId) {
81         this.vnfId = vnfId;
82     }
83
84     /**
85      * identifies the VF module to which this action is to be applied.
86      */
87     public String getVfModuleId() {
88         return vfModuleId;
89     }
90
91     /**
92      * identifies the VF module to which this action is to be applied.
93      */
94     public void setVfModuleId(String vfModuleId) {
95         this.vfModuleId = vfModuleId;
96     }
97
98     /**
99      * identifies the VNFC to which this action is to be applied. Some actions apply only to a component within a VNF (e.g. RESTART is sometimes applied to on VM only). In such a case, the name of the VNFC is used to search for the component within the VNF
100      */
101     public String getVnfcName() {
102         return vnfcName;
103     }
104
105     /**
106      * identifies the VNFC to which this action is to be applied. Some actions apply only to a component within a VNF (e.g. RESTART is sometimes applied to on VM only). In such a case, the name of the VNFC is used to search for the component within the VNF
107      */
108     public void setVnfcName(String vnfcName) {
109         this.vnfcName = vnfcName;
110     }
111
112     /**
113      * identifies a specific VM within the given service/vnf to which this action is to be applied
114      */
115     public String getVserverId() {
116         return vserverId;
117     }
118
119     /**
120      * identifies a specific VM within the given service/vnf to which this action is to be applied
121      */
122     public void setVserverId(String vserverId) {
123         this.vserverId = vserverId;
124     }
125
126 }