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=========================================================
26 * NOTE: This file is auto-generated and should not be changed manually.
28 package org.onap.appc.client.lcm.model;
30 import com.fasterxml.jackson.annotation.JsonProperty;
33 * A common header for all APP-C requests
35 @javax.annotation.Generated(
36 value = {"client-kit/open-api-to-java.ftl"},
37 date = "2017-11-16T17:10:10.312Z",
38 comments = "Auto-generated from Open API specification")
39 public class CommonHeader {
41 @JsonProperty("timestamp")
42 private ZULU timestamp;
44 @JsonProperty("api-ver")
45 private String apiVer;
47 @JsonProperty("originator-id")
48 private String originatorId;
50 @JsonProperty("request-id")
51 private String requestId;
53 @JsonProperty("sub-request-id")
54 private String subRequestId;
56 @JsonProperty("flags")
60 * Define a common definition of a time stamp (expressed as a formatted string) as follows yyyy-MM-ddTHH:mm:ss.SSSSSSSSZ
62 public ZULU getTimestamp() {
67 * Define a common definition of a time stamp (expressed as a formatted string) as follows yyyy-MM-ddTHH:mm:ss.SSSSSSSSZ
69 public void setTimestamp(ZULU timestamp) {
70 this.timestamp = timestamp;
74 * api-ver is the API version identifier. A given release of APPC should support all previous versions of APPC API (correlate with general requirements)
76 public String getApiVer() {
81 * api-ver is the API version identifier. A given release of APPC should support all previous versions of APPC API (correlate with general requirements)
83 public void setApiVer(String apiVer) {
88 * originator-id an identifier of the calling system which can be used addressing purposes, i.e. returning asynchronous response to the proper destination over DMaaP (especially in case of multiple consumers of APP-C APIs)
90 public String getOriginatorId() {
95 * originator-id an identifier of the calling system which can be used addressing purposes, i.e. returning asynchronous response to the proper destination over DMaaP (especially in case of multiple consumers of APP-C APIs)
97 public void setOriginatorId(String originatorId) {
98 this.originatorId = originatorId;
102 * UUID for the request ID. An OSS/BSS identifier for the request that caused the current action. Multiple API calls may be made with the same request-id The request-id shall be recorded throughout the operations on a single request
104 public String getRequestId() {
109 * UUID for the request ID. An OSS/BSS identifier for the request that caused the current action. Multiple API calls may be made with the same request-id The request-id shall be recorded throughout the operations on a single request
111 public void setRequestId(String requestId) {
112 this.requestId = requestId;
116 * Uniquely identifies a specific LCM action. It is persistent over the life-cycle of a single request
118 public String getSubRequestId() {
123 * Uniquely identifies a specific LCM action. It is persistent over the life-cycle of a single request
125 public void setSubRequestId(String subRequestId) {
126 this.subRequestId = subRequestId;
130 * Flags are generic flags that apply to any and all commands, all are optional
132 public Flags getFlags() {
137 * Flags are generic flags that apply to any and all commands, all are optional
139 public void setFlags(Flags flags) {