2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 package org.onap.ccsdk.features.model.data.api;
\r
20 import com.fasterxml.jackson.annotation.JsonProperty;
\r
22 public class CommonHeader {
\r
24 private String timestamp;
\r
25 @JsonProperty("api-ver")
\r
26 private String apiVer;
\r
27 @JsonProperty("originator-id")
\r
28 private String originatorId;
\r
29 @JsonProperty("request-id")
\r
30 private String requestId;
\r
31 @JsonProperty("sub-request-id")
\r
32 private String subRequestId;
\r
33 private Flags flags;
\r
35 public String getTimestamp() {
\r
39 public void setTimestamp(String timestamp) {
\r
40 this.timestamp = timestamp;
\r
43 public String getApiVer() {
\r
47 public void setApiVer(String apiVer) {
\r
48 this.apiVer = apiVer;
\r
51 public String getOriginatorId() {
\r
52 return originatorId;
\r
55 public void setOriginatorId(String originatorId) {
\r
56 this.originatorId = originatorId;
\r
59 public String getRequestId() {
\r
63 public void setRequestId(String requestId) {
\r
64 this.requestId = requestId;
\r
67 public String getSubRequestId() {
\r
68 return subRequestId;
\r
71 public void setSubRequestId(String subRequestId) {
\r
72 this.subRequestId = subRequestId;
\r
75 public Flags getFlags() {
\r
79 public void setFlags(Flags flags) {
\r