/* * Copyright (C) 2022 CAPGEMINI ENGINEERING. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.onap.ranapp.kafka.model.appmodels; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "action", "payload", "policy_type_id", "policy_id" }) @Generated("jsonschema2pojo") public class ANRInputMessage { @JsonProperty("policy_type_id") private String policyTypeId; @JsonProperty("policy_id") private String policyId; @JsonProperty("action") private String action; @JsonProperty("payload") private Payload payload; public String getPolicyTypeId() { return policyTypeId; } public void setPolicyTypeId(String policyTypeId) { this.policyTypeId = policyTypeId; } public String getPolicyId() { return policyId; } public void setPolicyId(String policyId) { this.policyId = policyId; } public String getAction() { return action; } public void setAction(String action) { this.action = action; } public Payload getPayload() { return payload; } public void setPayload(Payload payload) { this.payload = payload; } @Override public String toString() { return "ANRInputMessage [policyTypeId=" + policyTypeId + ", policyId=" + policyId + ", action=" + action + ", payload=" + payload + "]"; } }