3 This licence applies to all files in this repository unless otherwise specifically
4 stated inside of the file.
6 ---------------------------------------------------------------------------
7 Copyright (c) 2016 AT&T Intellectual Property
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:
13 http://www.apache.org/licenses/LICENSE-2.0
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 ---------------------------------------------------------------------------
28 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
29 public class JsonInsert {
31 private Map<String,Object> values;
32 String ttl, timestamp;
33 private Map<String,Object> row_specification;
34 private Map<String,String> consistencyInfo;
36 public Map<String, String> getConsistencyInfo() {
37 return consistencyInfo;
40 public void setConsistencyInfo(Map<String, String> consistencyInfo) {
41 this.consistencyInfo = consistencyInfo;
44 public String getTtl() {
47 public void setTtl(String ttl) {
50 public String getTimestamp() {
53 public void setTimestamp(String timestamp) {
54 this.timestamp = timestamp;
56 public Map<String, Object> getValues() {
59 public void setValues(Map<String, Object> values) {
62 public Map<String, Object> getRow_specification() {
63 return row_specification;
65 public void setRow_specification(Map<String, Object> row_specification) {
66 this.row_specification = row_specification;