@@ -40,6 +40,9 @@ public class KReference implements KubernetesResource {
40
40
@ JsonProperty ("namespace" )
41
41
private String namespace ;
42
42
43
+ @ JsonProperty ("address" )
44
+ private String address ;
45
+
43
46
public KReference () {}
44
47
45
48
public KReference (String apiVersion , String kind , String name , String namespace ) {
@@ -94,6 +97,16 @@ public void setNamespace(String namespace) {
94
97
this .namespace = namespace ;
95
98
}
96
99
100
+ @ JsonProperty ("address" )
101
+ public String getAddress () {
102
+ return this .address ;
103
+ }
104
+
105
+ @ JsonProperty ("address" )
106
+ public void setAddress (String address ) {
107
+ this .address = address ;
108
+ }
109
+
97
110
@ Override
98
111
public boolean equals (Object o ) {
99
112
if (this == o ) return true ;
@@ -102,7 +115,8 @@ public boolean equals(Object o) {
102
115
return Objects .equals (this .getApiVersion (), that .getApiVersion ())
103
116
&& Objects .equals (this .getKind (), that .getKind ())
104
117
&& Objects .equals (this .getName (), that .getName ())
105
- && Objects .equals (this .getNamespace (), that .getNamespace ());
118
+ && Objects .equals (this .getNamespace (), that .getNamespace ())
119
+ && Objects .equals (this .getAddress (), that .getAddress ());
106
120
}
107
121
108
122
protected boolean canEqual (Object o ) {
@@ -111,6 +125,7 @@ protected boolean canEqual(Object o) {
111
125
112
126
@ Override
113
127
public int hashCode () {
114
- return Objects .hash (this .getApiVersion (), this .getKind (), this .getName (), this .getNamespace ());
128
+ return Objects .hash (
129
+ this .getApiVersion (), this .getKind (), this .getName (), this .getNamespace (), this .getAddress ());
115
130
}
116
131
}
0 commit comments