2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2021 Samsung Electronics Co. Ltd. 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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.adapters.cnf.service.aai;
23 import java.util.List;
25 public class KubernetesResource {
29 private String version;
31 private String namespace;
32 private List<String> labels;
33 private String k8sResourceSelfLink;
35 public String getId() {
39 public void setId(String id) {
43 public String getName() {
47 public void setName(String name) {
51 public String getGroup() {
55 public void setGroup(String group) {
59 public String getVersion() {
63 public void setVersion(String version) {
64 this.version = version;
67 public String getKind() {
71 public void setKind(String kind) {
75 public String getNamespace() {
79 public void setNamespace(String namespace) {
80 this.namespace = namespace;
83 public List<String> getLabels() {
87 public void setLabels(List<String> labels) {
91 public String getK8sResourceSelfLink() {
92 return k8sResourceSelfLink;
95 public void setK8sResourceSelfLink(String k8sResourceSelfLink) {
96 this.k8sResourceSelfLink = k8sResourceSelfLink;