0f159275dd1d3bd0201cf674459ab2d36c5126eb
[policy/drools-applications.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP
4  * ================================================================================
5  * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.drools.models.domain.operational;
22
23 import java.io.Serializable;
24 import java.util.HashMap;
25 import java.util.Map;
26 import lombok.Builder;
27 import lombok.Data;
28
29
30 /**
31  * Actor Operation.
32  */
33
34 @Data
35 @Builder
36 public class ActorOperation implements Serializable {
37     private static final long serialVersionUID = -534488831693359530L;
38
39     /**
40      * Actor.
41      */
42     private String actor;
43
44     /**
45      * Operation Name.
46      */
47     private String operation;
48
49     /**
50      * Target.
51      */
52     private OperationalTarget target;
53
54     /**
55      * Payload.
56      */
57     @Builder.Default
58     private Map<String, String> payload = new HashMap<>();
59 }