Update Tasks API with additional fields
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tasksbeans / ValidResponses.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 //
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
24 // Any modifications to this file will be lost upon recompilation of the source schema. 
25 // Generated on: 2015.09.03 at 02:02:13 PM EDT 
26 //
27
28
29 package org.onap.so.apihandlerinfra.tasksbeans;
30
31 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
32
33 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
34
35 public enum ValidResponses {
36
37     rollback,
38     abort,
39     skip,
40     retry,
41     manual,
42     resume
43     ;
44
45     public String value() {
46         return name();
47     }
48
49     public static ValidResponses fromValue(String v) {
50         return valueOf(v);
51     }
52
53 }