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.onap.appc.client.lcm.model;
30 import com.fasterxml.jackson.annotation.JsonProperty;
32 @javax.annotation.Generated(
33 value = {"client-kit/open-api-to-java.ftl"},
34 date = "2017-11-16T17:10:10.332Z",
35 comments = "Auto-generated from Open API specification")
36 public class AttachVolumeInput {
38 @JsonProperty("common-header")
39 private CommonHeader commonHeader;
41 @JsonProperty("action")
42 private Action action;
44 @JsonProperty("action-identifiers")
45 private ActionIdentifiers actionIdentifiers;
47 @JsonProperty("payload")
48 private Payload payload;
51 * A common header for all APP-C requests
53 public CommonHeader getCommonHeader() {
58 * A common header for all APP-C requests
60 public void setCommonHeader(CommonHeader commonHeader) {
61 this.commonHeader = commonHeader;
65 * The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate
67 public Action getAction() {
72 * The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate
74 public void setAction(Action action) {
79 * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
81 public ActionIdentifiers getActionIdentifiers() {
82 return actionIdentifiers;
86 * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
88 public void setActionIdentifiers(ActionIdentifiers actionIdentifiers) {
89 this.actionIdentifiers = actionIdentifiers;
93 * The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value
95 public Payload getPayload() {
100 * The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value
102 public void setPayload(Payload payload) {
103 this.payload = payload;