54bd9a6272a60ffee907ac0f25dc4d1f0aac30d7
[appc.git] / appc-client / client-kit / src / main / java / org / openecomp / 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.openecomp.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 = {"templates/client-kit/open-api-to-java.ftl"},
37     date = "2017-05-04T20:09:01.501+05:30",
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("vnfc-name")
48     private String vnfcName;
49
50     @JsonProperty("vserver-id")
51     private String vserverId;
52
53     /**
54      * 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
55      */
56     public String getServiceInstanceId() {
57         return serviceInstanceId;
58     }
59
60     /**
61      * 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
62      */
63     public void setServiceInstanceId(String serviceInstanceId) {
64         this.serviceInstanceId = serviceInstanceId;
65     }
66
67     /**
68      * 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
69      */
70     public String getVnfId() {
71         return vnfId;
72     }
73
74     /**
75      * 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
76      */
77     public void setVnfId(String vnfId) {
78         this.vnfId = vnfId;
79     }
80
81     /**
82      * 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
83      */
84     public String getVnfcName() {
85         return vnfcName;
86     }
87
88     /**
89      * 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
90      */
91     public void setVnfcName(String vnfcName) {
92         this.vnfcName = vnfcName;
93     }
94
95     /**
96      * identifies a specific VM within the given service/vnf to which this action is to be applied
97      */
98     public String getVserverId() {
99         return vserverId;
100     }
101
102     /**
103      * identifies a specific VM within the given service/vnf to which this action is to be applied
104      */
105     public void setVserverId(String vserverId) {
106         this.vserverId = vserverId;
107     }
108
109 }