c350ebd88c7b6e7a03e693e93c14bb9e4be7b6e2
[so/adapters/so-cnf-adapter.git] /
1 package org.onap.so.adapters.cnf.model.statuscheck;
2
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonInclude;
5 import com.fasterxml.jackson.annotation.JsonProperty;
6
7 @JsonInclude(JsonInclude.Include.NON_NULL)
8 @JsonIgnoreProperties(ignoreUnknown = true)
9 public class K8sOwnerReference {
10
11     @JsonProperty("uid")
12     private String uid;
13
14     @JsonProperty("name")
15     private String name;
16
17     @JsonProperty("kind")
18     private String kind;
19
20     @JsonProperty("apiVersion")
21     private String apiVersion;
22
23     @JsonProperty("controller")
24     private Boolean controller;
25
26     @JsonProperty("blockOwnerDeletion")
27     private Boolean blockOwnerDeletion;
28
29     public String getUid() {
30         return uid;
31     }
32
33     public void setUid(String uid) {
34         this.uid = uid;
35     }
36
37     public String getName() {
38         return name;
39     }
40
41     public void setName(String name) {
42         this.name = name;
43     }
44
45     public String getKind() {
46         return kind;
47     }
48
49     public void setKind(String kind) {
50         this.kind = kind;
51     }
52
53     public String getApiVersion() {
54         return apiVersion;
55     }
56
57     public void setApiVersion(String apiVersion) {
58         this.apiVersion = apiVersion;
59     }
60
61     public Boolean getController() {
62         return controller;
63     }
64
65     public void setController(Boolean controller) {
66         this.controller = controller;
67     }
68
69     public Boolean getBlockOwnerDeletion() {
70         return blockOwnerDeletion;
71     }
72
73     public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) {
74         this.blockOwnerDeletion = blockOwnerDeletion;
75     }
76 }