2 * API ServiceOrder serviceOrder API designed for ONAP Beijing Release. This API is build from TMF
3 * open API16.5 + applied TMF guideline 3.0
5 * OpenAPI spec version: 0.1.1_inProgress
8 * NOTE: This class is auto generated by the swagger code generator program.
9 * https://github.com/swagger-api/swagger-codegen.git Do not edit the class manually.
11 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
12 * in compliance with the License. You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software distributed under the License
17 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
18 * or implied. See the License for the specific language governing permissions and limitations under
23 package org.onap.nbi.apis.serviceorder.model;
26 import com.fasterxml.jackson.annotation.JsonCreator;
31 public enum StateType {
33 ACKNOWLEDGED("acknowledged"),
41 INPROGRESS("inProgress"),
43 CANCELLED("cancelled"),
45 COMPLETED("completed"),
53 StateType(String value) {
58 public String toString() {
59 return String.valueOf(value);
63 public static StateType fromValue(String text) {
64 for (StateType b : StateType.values()) {
65 if (String.valueOf(b.value).equals(text)) {