Skip to content

Commit 978349a

Browse files
committed
Compiling with pre-beta3 client
1 parent 6f53f6f commit 978349a

File tree

16 files changed

+233
-239
lines changed

16 files changed

+233
-239
lines changed

src-generated-swagger/main/java/oracle/kubernetes/weblogic/domain/v1/DomainStatus.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
2-
//Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
1+
// Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
2+
// Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33

44
package oracle.kubernetes.weblogic.domain.v1;
55

@@ -46,10 +46,10 @@ public class DomainStatus {
4646
* Status of WebLogic servers in this domain.
4747
*
4848
*/
49-
@SerializedName("status")
49+
@SerializedName("servers")
5050
@Expose
5151
@Valid
52-
private List<ServerStatus> status = new ArrayList<ServerStatus>();
52+
private List<ServerStatus> servers = new ArrayList<ServerStatus>();
5353
/**
5454
* RFC 3339 date and time at which the operator started the domain. This will be when the operator begins processing and will precede when the various servers or clusters are available.
5555
*
@@ -60,23 +60,23 @@ public class DomainStatus {
6060

6161
/**
6262
* Current service state of domain.
63-
* @return domain conditions
63+
* @return conditions
6464
*/
6565
public List<DomainCondition> getConditions() {
6666
return conditions;
6767
}
6868

6969
/**
7070
* Current service state of domain.
71-
* @param conditions domain conditions
71+
* @param conditions conditions
7272
*/
7373
public void setConditions(List<DomainCondition> conditions) {
7474
this.conditions = conditions;
7575
}
7676

7777
/**
7878
* Current service state of domain.
79-
* @param conditions domain conditions
79+
* @param conditions conditions
8080
* @return this
8181
*/
8282
public DomainStatus withConditions(List<DomainCondition> conditions) {
@@ -138,27 +138,27 @@ public DomainStatus withReason(String reason) {
138138

139139
/**
140140
* Status of WebLogic servers in this domain.
141-
* @return server status
141+
* @return servers
142142
*/
143-
public List<ServerStatus> getStatus() {
144-
return status;
143+
public List<ServerStatus> getServers() {
144+
return servers;
145145
}
146146

147147
/**
148148
* Status of WebLogic servers in this domain.
149-
* @param status server status
149+
* @param servers servers
150150
*/
151-
public void setStatus(List<ServerStatus> status) {
152-
this.status = status;
151+
public void setServers(List<ServerStatus> servers) {
152+
this.servers = servers;
153153
}
154154

155155
/**
156156
* Status of WebLogic servers in this domain.
157-
* @param status server status
157+
* @param servers servers
158158
* @return this
159159
*/
160-
public DomainStatus withStatus(List<ServerStatus> status) {
161-
this.status = status;
160+
public DomainStatus withServers(List<ServerStatus> servers) {
161+
this.servers = servers;
162162
return this;
163163
}
164164

@@ -190,12 +190,12 @@ public DomainStatus withStartTime(DateTime startTime) {
190190

191191
@Override
192192
public String toString() {
193-
return new ToStringBuilder(this).append("conditions", conditions).append("message", message).append("reason", reason).append("status", status).append("startTime", startTime).toString();
193+
return new ToStringBuilder(this).append("conditions", conditions).append("message", message).append("reason", reason).append("servers", servers).append("startTime", startTime).toString();
194194
}
195195

196196
@Override
197197
public int hashCode() {
198-
return new HashCodeBuilder().append(reason).append(startTime).append(conditions).append(message).append(status).toHashCode();
198+
return new HashCodeBuilder().append(reason).append(startTime).append(servers).append(conditions).append(message).toHashCode();
199199
}
200200

201201
@Override
@@ -207,7 +207,7 @@ public boolean equals(Object other) {
207207
return false;
208208
}
209209
DomainStatus rhs = ((DomainStatus) other);
210-
return new EqualsBuilder().append(reason, rhs.reason).append(startTime, rhs.startTime).append(conditions, rhs.conditions).append(message, rhs.message).append(status, rhs.status).isEquals();
210+
return new EqualsBuilder().append(reason, rhs.reason).append(startTime, rhs.startTime).append(servers, rhs.servers).append(conditions, rhs.conditions).append(message, rhs.message).isEquals();
211211
}
212212

213213
}

src-generated-swagger/main/java/oracle/kubernetes/weblogic/domain/v1/ServerHealth.java

Lines changed: 3 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import java.util.ArrayList;
77
import java.util.List;
88
import javax.validation.Valid;
9-
import javax.validation.constraints.NotNull;
109
import com.google.gson.annotations.Expose;
1110
import com.google.gson.annotations.SerializedName;
1211
import org.apache.commons.lang3.builder.EqualsBuilder;
@@ -28,29 +27,6 @@ public class ServerHealth {
2827
@SerializedName("startTime")
2928
@Expose
3029
private DateTime startTime;
31-
/**
32-
* WebLogic cluster name, if the server is part of a cluster
33-
*
34-
*/
35-
@SerializedName("clusterName")
36-
@Expose
37-
private String clusterName;
38-
/**
39-
* Name of node that is hosting the Pod containing this WebLogic server.
40-
*
41-
*/
42-
@SerializedName("nodeName")
43-
@Expose
44-
private String nodeName;
45-
/**
46-
* Current state of this WebLogic server.
47-
* (Required)
48-
*
49-
*/
50-
@SerializedName("state")
51-
@Expose
52-
@NotNull
53-
private String state;
5430
/**
5531
* Server health of this WebLogic server.
5632
*
@@ -100,87 +76,6 @@ public ServerHealth withStartTime(DateTime startTime) {
10076
return this;
10177
}
10278

103-
/**
104-
* WebLogic cluster name, if the server is part of a cluster
105-
* @return cluster name
106-
*/
107-
public String getClusterName() {
108-
return clusterName;
109-
}
110-
111-
/**
112-
* WebLogic cluster name, if the server is part of a cluster
113-
* @param clusterName cluster name
114-
*/
115-
public void setClusterName(String clusterName) {
116-
this.clusterName = clusterName;
117-
}
118-
119-
/**
120-
* WebLogic cluster name, if the server is part of a cluster
121-
* @param clusterName cluster name
122-
* @return this
123-
*/
124-
public ServerHealth withClusterName(String clusterName) {
125-
this.clusterName = clusterName;
126-
return this;
127-
}
128-
129-
/**
130-
* Name of node that is hosting the Pod containing this WebLogic server.
131-
* @return node name
132-
*/
133-
public String getNodeName() {
134-
return nodeName;
135-
}
136-
137-
/**
138-
* Name of node that is hosting the Pod containing this WebLogic server.
139-
* @param nodeName node name
140-
*/
141-
public void setNodeName(String nodeName) {
142-
this.nodeName = nodeName;
143-
}
144-
145-
/**
146-
* Name of node that is hosting the Pod containing this WebLogic server.
147-
* @param nodeName node name
148-
* @return this
149-
*/
150-
public ServerHealth withNodeName(String nodeName) {
151-
this.nodeName = nodeName;
152-
return this;
153-
}
154-
155-
/**
156-
* Current state of this WebLogic server.
157-
* (Required)
158-
* @return state
159-
*/
160-
public String getState() {
161-
return state;
162-
}
163-
164-
/**
165-
* Current state of this WebLogic server.
166-
* (Required)
167-
* @param state state
168-
*/
169-
public void setState(String state) {
170-
this.state = state;
171-
}
172-
173-
/**
174-
* Current state of this WebLogic server.
175-
* (Required)
176-
* @param state state
177-
* @return this
178-
*/
179-
public ServerHealth withState(String state) {
180-
this.state = state;
181-
return this;
182-
}
183-
18479
/**
18580
* Server health of this WebLogic server.
18681
* @return health
@@ -261,12 +156,12 @@ public ServerHealth withSymptoms(List<String> symptoms) {
261156

262157
@Override
263158
public String toString() {
264-
return new ToStringBuilder(this).append("startTime", startTime).append("clusterName", clusterName).append("nodeName", nodeName).append("state", state).append("health", health).append("subsystemName", subsystemName).append("symptoms", symptoms).toString();
159+
return new ToStringBuilder(this).append("startTime", startTime).append("health", health).append("subsystemName", subsystemName).append("symptoms", symptoms).toString();
265160
}
266161

267162
@Override
268163
public int hashCode() {
269-
return new HashCodeBuilder().append(nodeName).append(symptoms).append(clusterName).append(health).append(startTime).append(state).append(subsystemName).toHashCode();
164+
return new HashCodeBuilder().append(symptoms).append(health).append(startTime).append(subsystemName).toHashCode();
270165
}
271166

272167
@Override
@@ -278,7 +173,7 @@ public boolean equals(Object other) {
278173
return false;
279174
}
280175
ServerHealth rhs = ((ServerHealth) other);
281-
return new EqualsBuilder().append(nodeName, rhs.nodeName).append(symptoms, rhs.symptoms).append(clusterName, rhs.clusterName).append(health, rhs.health).append(startTime, rhs.startTime).append(state, rhs.state).append(subsystemName, rhs.subsystemName).isEquals();
176+
return new EqualsBuilder().append(symptoms, rhs.symptoms).append(health, rhs.health).append(startTime, rhs.startTime).append(subsystemName, rhs.subsystemName).isEquals();
282177
}
283178

284179
}

0 commit comments

Comments
 (0)