2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
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.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
25 package org.openecomp.appc.domainmodel.lcm;
27 import java.time.Instant;
30 public class CommonHeader {
33 private Instant timestamp;
34 private String apiVer;
35 private String originatorId;
36 private String requestId;
37 private String subRequestId;
39 public Flags getFlags() {
43 public void setFlags(Flags flags) {
47 public Instant getTimeStamp() {
51 public void setTimestamp(Instant timestamp) {
52 this.timestamp = timestamp;
55 public String getApiVer() {
59 public void setApiVer(String apiVer) {
63 public String getOriginatorId() {
67 public void setOriginatorId(String originatorId) {
68 this.originatorId = originatorId;
71 public String getRequestId() {
75 public void setRequestId(String requestId) {
76 this.requestId = requestId;
79 public String getSubRequestId() {
83 public void setSubRequestId(String subRequestId) {
84 this.subRequestId = subRequestId;
88 public String toString() {
89 return "CommonHeader{" +
91 ", timestamp=" + timestamp +
92 ", apiVer='" + apiVer + '\'' +
93 ", originatorId='" + originatorId + '\'' +
94 ", requestId='" + requestId + '\'' +
95 ", subRequestId='" + subRequestId + '\'' +