Skip to content

Commit

Permalink
feat(shulker-crds): update crds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylvln committed Mar 11, 2022
1 parent cc649b0 commit b29d732
Showing 1 changed file with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
package io.shulkermc.models;

import java.time.LocalDateTime;
import java.util.List;

public class MinecraftClusterStatus {
private List<Condition> conditions;
private int proxies;
private int servers;

public void setConditions(List<Condition> conditions) {
this.conditions = conditions;
}

public void setProxies(int proxies) {
this.proxies = proxies;
}
Expand All @@ -12,11 +20,72 @@ public void setServers(int servers) {
this.servers = servers;
}

public List<Condition> getConditions() {
return this.conditions;
}

public int getProxies() {
return this.proxies;
}

public int getServers() {
return this.servers;
}

public static class Condition {
private String type;
private String status;
private int observedGeneration;
private LocalDateTime lastTransitionTime;
private String reason;
private String message;

public void setType(String type) {
this.type = type;
}

public void setStatus(String status) {
this.status = status;
}

public void setObservedGeneration(int observedGeneration) {
this.observedGeneration = observedGeneration;
}

public void setLastTransitionTime(LocalDateTime lastTransitionTime) {
this.lastTransitionTime = lastTransitionTime;
}

public void setReason(String reason) {
this.reason = reason;
}

public void setMessage(String message) {
this.message = message;
}

public String getType() {
return this.type;
}

public String getStatus() {
return this.status;
}

public int getObservedGeneration() {
return this.observedGeneration;
}

public LocalDateTime getLastTransitionTime() {
return this.lastTransitionTime;
}

public String getReason() {
return this.reason;
}

public String getMessage() {
return this.message;
}
}
}

0 comments on commit b29d732

Please sign in to comment.