AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / client / policy / entities / Workstep.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 \r
22 package org.openecomp.mso.client.policy.entities;\r
23 \r
24 import com.fasterxml.jackson.annotation.JsonInclude;\r
25 import com.fasterxml.jackson.annotation.JsonProperty;\r
26 import com.fasterxml.jackson.annotation.JsonPropertyOrder;\r
27 \r
28 @JsonInclude(JsonInclude.Include.NON_NULL)\r
29 @JsonPropertyOrder({\r
30 "valueType",\r
31 "string",\r
32 "chars"\r
33 })\r
34 public class Workstep {\r
35 \r
36 @JsonProperty("valueType")\r
37 private String valueType;\r
38 @JsonProperty("string")\r
39 private String string;\r
40 @JsonProperty("chars")\r
41 private String chars;\r
42 \r
43 @JsonProperty("valueType")\r
44 public String getValueType() {\r
45 return valueType;\r
46  }\r
47 \r
48 @JsonProperty("valueType")\r
49 public void setValueType(String valueType) {\r
50 this.valueType = valueType;\r
51  }\r
52 \r
53 public Workstep withValueType(String valueType) {\r
54 this.valueType = valueType;\r
55 return this;\r
56  }\r
57 \r
58 @JsonProperty("string")\r
59 public String getString() {\r
60 return string;\r
61  }\r
62 \r
63 @JsonProperty("string")\r
64 public void setString(String string) {\r
65 this.string = string;\r
66  }\r
67 \r
68 public Workstep withString(String string) {\r
69 this.string = string;\r
70 return this;\r
71  }\r
72 \r
73 @JsonProperty("chars")\r
74 public String getChars() {\r
75 return chars;\r
76  }\r
77 \r
78 @JsonProperty("chars")\r
79 public void setChars(String chars) {\r
80 this.chars = chars;\r
81  }\r
82 \r
83 public Workstep withChars(String chars) {\r
84 this.chars = chars;\r
85 return this;\r
86  }\r
87 \r
88 }\r