Merge "Handle Subscription Response from DMI"
[cps.git] / cps-ncmp-service / src / main / java / org / onap / cps / ncmp / api / models / datajob / WriteOperation.java
1 /*
2  *  ============LICENSE_START=======================================================
3  *  Copyright (C) 2024 Nordix Foundation
4  *  ================================================================================
5  *  Licensed under the Apache License, Version 2.0 (the "License");
6  *  you may not use this file except in compliance with the License.
7  *  You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *  Unless required by applicable law or agreed to in writing, software
12  *  distributed under the License is distributed on an "AS IS" BASIS,
13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *  See the License for the specific language governing permissions and
15  *  limitations under the License.
16  *
17  *  SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.cps.ncmp.api.models.datajob;
22
23 /**
24  * Holds information of write data job operation.
25  * based on <a href="https://www.etsi.org/deliver/etsi_ts/128500_128599/128532/16.04.00_60/ts_128532v160400p.pdf">ETSI TS 128 532 V16.4.0 (2020-08)</a>
26  *
27  * @param path        Identifier of a managed object (MO) on a network element. Defines the resource on which operation
28  *                    is executed. Typically, is Fully Distinguished Name (FDN).
29  * @param op          Describes the operation to execute.  The value can be as below:
30  *                    e.g. "add", "replace", "remove", "action" etc.
31  * @param operationId Unique identifier of the operation within the request.
32  * @param value       The value to be written depends on the type of operation.
33  */
34 public record WriteOperation(String path, String op, String operationId, Object value) {}