summaryrefslogtreecommitdiffstats
path: root/adaptors/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/data/RelatedNode.java
blob: c7517eae5a6e92549aacde67ebf0617846f037f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package org.onap.ccsdk.sli.adaptors.aai.data;

import java.util.HashMap;
import java.util.Map;

import org.onap.aai.inventory.v24.CloudRegion;
import org.onap.aai.inventory.v24.Configuration;
import org.onap.aai.inventory.v24.InstanceGroup;
import org.onap.aai.inventory.v24.L3InterfaceIpv4AddressList;
import org.onap.aai.inventory.v24.L3InterfaceIpv6AddressList;
import org.onap.aai.inventory.v24.LInterface;
import org.onap.aai.inventory.v24.LagInterface;
import org.onap.aai.inventory.v24.LogicalLink;
import org.onap.aai.inventory.v24.PInterface;
import org.onap.aai.inventory.v24.Pnf;
import org.onap.aai.inventory.v24.ServiceInstance;

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({
	"cloud-region",
	"configuration",
	"instance-group",
	"l-interface",
	"lag-interface",
	"logical-link",
	"p-interface",
	"pnf",
	"l3-interface-ipv6-address-list",
	"l3-interface-ipv6-address-list",
	"service-instance"
})
public class RelatedNode implements AAIDatum {
	@JsonProperty("cloud-region")
	private CloudRegion cloudRegion;
	@JsonProperty("configuration")
	private Configuration configuration;
	@JsonProperty("instance-group")
	private InstanceGroup instanceGroup;
	@JsonProperty("l-interface")
	protected LInterface lInterface;
	@JsonProperty("logical-link")
	protected LogicalLink logicalLink;
	@JsonProperty("lag-interface")
	protected LagInterface lagInterface;
	@JsonProperty("l3-interface-ipv4-address-list")
    protected L3InterfaceIpv4AddressList l3InterfaceIpv4AddressList;
	@JsonProperty("l3-interface-ipv6-address-list")
    protected L3InterfaceIpv6AddressList l3InterfaceIpv6AddressList;
	@JsonProperty("p-interface")
	protected PInterface pInterface;
	@JsonProperty("pnf")
	protected Pnf pnf;
	@JsonProperty("service-instance")
	private ServiceInstance serviceInstance;
	@JsonIgnore
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("service-instance")
	public ServiceInstance getServiceInstance() {
		return serviceInstance;
	}

	@JsonProperty("service-instance")
	public void setServiceInstance(ServiceInstance serviceInstance) {
		this.serviceInstance = serviceInstance;
	}

	@JsonProperty("cloud-region")
	public CloudRegion getCloudRegion() {
		return cloudRegion;
	}

	@JsonProperty("cloud-region")
	public void setCloudRegion(CloudRegion cloudRegion) {
		this.cloudRegion = cloudRegion;
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperty(String name, Object value) {
		this.additionalProperties.put(name, value);
	}
	@JsonProperty("configuration")
	public Configuration getConfiguration() {
		return configuration;
	}
	@JsonProperty("configuration")
	public void setConfiguration(Configuration configuration) {
		this.configuration = configuration;
	}
	@JsonProperty("l-interface")
	public LInterface getlInterface() {
		return lInterface;
	}
	@JsonProperty("l-interface")
	public void setlInterface(LInterface lInterface) {
		this.lInterface = lInterface;
	}
	@JsonProperty("pnf")
	public Pnf getPnf() {
		return pnf;
	}
	@JsonProperty("pnf")
	public void setPnf(Pnf pnf) {
		this.pnf = pnf;
	}
	@JsonProperty("l3-interface-ipv4-address-list")
	public L3InterfaceIpv4AddressList getL3InterfaceIpv4AddressList() {
		return l3InterfaceIpv4AddressList;
	}
	@JsonProperty("l3-interface-ipv4-address-list")
	public void setL3InterfaceIpv4AddressList(L3InterfaceIpv4AddressList l3InterfaceIpv4AddressList) {
		this.l3InterfaceIpv4AddressList = l3InterfaceIpv4AddressList;
	}
	@JsonProperty("l3-interface-ipv6-address-list")
	public L3InterfaceIpv6AddressList getL3InterfaceIpv6AddressList() {
		return l3InterfaceIpv6AddressList;
	}
	@JsonProperty("l3-interface-ipv6-address-list")
	public void setL3InterfaceIpv6AddressList(L3InterfaceIpv6AddressList l3InterfaceIpv6AddressList) {
		this.l3InterfaceIpv6AddressList = l3InterfaceIpv6AddressList;
	}
	@JsonProperty("instance-group")
	public InstanceGroup getInstanceGroup() {
		return instanceGroup;
	}
	@JsonProperty("instance-group")
	public void setInstanceGroup(InstanceGroup instanceGroup) {
		this.instanceGroup = instanceGroup;
	}
}