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