2 * ============LICENSE_START=======================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
26 * NOTE: This file is auto-generated and should not be changed manually.
28 package org.openecomp.appc.client.lcm.model;
30 import com.fasterxml.jackson.annotation.JsonProperty;
33 * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
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 {
41 @JsonProperty("service-instance-id")
42 private String serviceInstanceId;
44 @JsonProperty("vnf-id")
47 @JsonProperty("vnfc-name")
48 private String vnfcName;
50 @JsonProperty("vserver-id")
51 private String vserverId;
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
56 public String getServiceInstanceId() {
57 return serviceInstanceId;
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
63 public void setServiceInstanceId(String serviceInstanceId) {
64 this.serviceInstanceId = serviceInstanceId;
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
70 public String getVnfId() {
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
77 public void setVnfId(String vnfId) {
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
84 public String getVnfcName() {
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
91 public void setVnfcName(String vnfcName) {
92 this.vnfcName = vnfcName;
96 * identifies a specific VM within the given service/vnf to which this action is to be applied
98 public String getVserverId() {
103 * identifies a specific VM within the given service/vnf to which this action is to be applied
105 public void setVserverId(String vserverId) {
106 this.vserverId = vserverId;