Third part of onap rename
[appc.git] / appc-client / client-kit / src / main / java / org / onap / appc / client / lcm / model / SnapshotInput.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 @javax.annotation.Generated(
33     value = {"templates/client-kit/open-api-to-java.ftl"},
34     date = "2017-05-04T20:09:01.659+05:30",
35     comments = "Auto-generated from Open API specification")
36 public class SnapshotInput {
37
38     @JsonProperty("common-header")
39     private CommonHeader commonHeader;
40
41     @JsonProperty("action")
42     private Action action;
43
44     @JsonProperty("action-identifiers")
45     private ActionIdentifiers actionIdentifiers;
46
47     @JsonProperty("payload")
48     private Payload payload;
49
50     @JsonProperty("identity-url")
51     private String identityUrl;
52
53     /**
54      * A common header for all APP-C requests
55      */
56     public CommonHeader getCommonHeader() {
57         return commonHeader;
58     }
59
60     /**
61      * A common header for all APP-C requests
62      */
63     public void setCommonHeader(CommonHeader commonHeader) {
64         this.commonHeader = commonHeader;
65     }
66
67     /**
68      * The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate
69      */
70     public Action getAction() {
71         return action;
72     }
73
74     /**
75      * The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate
76      */
77     public void setAction(Action action) {
78         this.action = action;
79     }
80
81     /**
82      * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
83      */
84     public ActionIdentifiers getActionIdentifiers() {
85         return actionIdentifiers;
86     }
87
88     /**
89      * A block containing the action arguments. These are used to specify the object upon which APP-C LCM command is to operate
90      */
91     public void setActionIdentifiers(ActionIdentifiers actionIdentifiers) {
92         this.actionIdentifiers = actionIdentifiers;
93     }
94
95     /**
96      * 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
97      */
98     public Payload getPayload() {
99         return payload;
100     }
101
102     /**
103      * 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
104      */
105     public void setPayload(Payload payload) {
106         this.payload = payload;
107     }
108
109     public String getIdentityUrl() {
110         return identityUrl;
111     }
112
113     public void setIdentityUrl(String identityUrl) {
114         this.identityUrl = identityUrl;
115     }
116
117 }