io.kubernetes.client.openapi.models.V1PodStatus Maven / Gradle / Ivy
/*
Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ContainerStatus;
import io.kubernetes.client.openapi.models.V1HostIP;
import io.kubernetes.client.openapi.models.V1PodCondition;
import io.kubernetes.client.openapi.models.V1PodIP;
import io.kubernetes.client.openapi.models.V1PodResourceClaimStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.
*/
@ApiModel(description = "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1PodStatus {
public static final String SERIALIZED_NAME_CONDITIONS = "conditions";
@SerializedName(SERIALIZED_NAME_CONDITIONS)
private List conditions = null;
public static final String SERIALIZED_NAME_CONTAINER_STATUSES = "containerStatuses";
@SerializedName(SERIALIZED_NAME_CONTAINER_STATUSES)
private List containerStatuses = null;
public static final String SERIALIZED_NAME_EPHEMERAL_CONTAINER_STATUSES = "ephemeralContainerStatuses";
@SerializedName(SERIALIZED_NAME_EPHEMERAL_CONTAINER_STATUSES)
private List ephemeralContainerStatuses = null;
public static final String SERIALIZED_NAME_HOST_I_P = "hostIP";
@SerializedName(SERIALIZED_NAME_HOST_I_P)
private String hostIP;
public static final String SERIALIZED_NAME_HOST_I_PS = "hostIPs";
@SerializedName(SERIALIZED_NAME_HOST_I_PS)
private List hostIPs = null;
public static final String SERIALIZED_NAME_INIT_CONTAINER_STATUSES = "initContainerStatuses";
@SerializedName(SERIALIZED_NAME_INIT_CONTAINER_STATUSES)
private List initContainerStatuses = null;
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
private String message;
public static final String SERIALIZED_NAME_NOMINATED_NODE_NAME = "nominatedNodeName";
@SerializedName(SERIALIZED_NAME_NOMINATED_NODE_NAME)
private String nominatedNodeName;
public static final String SERIALIZED_NAME_OBSERVED_GENERATION = "observedGeneration";
@SerializedName(SERIALIZED_NAME_OBSERVED_GENERATION)
private Long observedGeneration;
public static final String SERIALIZED_NAME_PHASE = "phase";
@SerializedName(SERIALIZED_NAME_PHASE)
private String phase;
public static final String SERIALIZED_NAME_POD_I_P = "podIP";
@SerializedName(SERIALIZED_NAME_POD_I_P)
private String podIP;
public static final String SERIALIZED_NAME_POD_I_PS = "podIPs";
@SerializedName(SERIALIZED_NAME_POD_I_PS)
private List podIPs = null;
public static final String SERIALIZED_NAME_QOS_CLASS = "qosClass";
@SerializedName(SERIALIZED_NAME_QOS_CLASS)
private String qosClass;
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private String reason;
public static final String SERIALIZED_NAME_RESIZE = "resize";
@SerializedName(SERIALIZED_NAME_RESIZE)
private String resize;
public static final String SERIALIZED_NAME_RESOURCE_CLAIM_STATUSES = "resourceClaimStatuses";
@SerializedName(SERIALIZED_NAME_RESOURCE_CLAIM_STATUSES)
private List resourceClaimStatuses = null;
public static final String SERIALIZED_NAME_START_TIME = "startTime";
@SerializedName(SERIALIZED_NAME_START_TIME)
private OffsetDateTime startTime;
public V1PodStatus conditions(List conditions) {
this.conditions = conditions;
return this;
}
public V1PodStatus addConditionsItem(V1PodCondition conditionsItem) {
if (this.conditions == null) {
this.conditions = new ArrayList<>();
}
this.conditions.add(conditionsItem);
return this;
}
/**
* Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
* @return conditions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions")
public List getConditions() {
return conditions;
}
public void setConditions(List conditions) {
this.conditions = conditions;
}
public V1PodStatus containerStatuses(List containerStatuses) {
this.containerStatuses = containerStatuses;
return this;
}
public V1PodStatus addContainerStatusesItem(V1ContainerStatus containerStatusesItem) {
if (this.containerStatuses == null) {
this.containerStatuses = new ArrayList<>();
}
this.containerStatuses.add(containerStatusesItem);
return this;
}
/**
* Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
* @return containerStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status")
public List getContainerStatuses() {
return containerStatuses;
}
public void setContainerStatuses(List containerStatuses) {
this.containerStatuses = containerStatuses;
}
public V1PodStatus ephemeralContainerStatuses(List ephemeralContainerStatuses) {
this.ephemeralContainerStatuses = ephemeralContainerStatuses;
return this;
}
public V1PodStatus addEphemeralContainerStatusesItem(V1ContainerStatus ephemeralContainerStatusesItem) {
if (this.ephemeralContainerStatuses == null) {
this.ephemeralContainerStatuses = new ArrayList<>();
}
this.ephemeralContainerStatuses.add(ephemeralContainerStatusesItem);
return this;
}
/**
* Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
* @return ephemeralContainerStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status")
public List getEphemeralContainerStatuses() {
return ephemeralContainerStatuses;
}
public void setEphemeralContainerStatuses(List ephemeralContainerStatuses) {
this.ephemeralContainerStatuses = ephemeralContainerStatuses;
}
public V1PodStatus hostIP(String hostIP) {
this.hostIP = hostIP;
return this;
}
/**
* hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod
* @return hostIP
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod")
public String getHostIP() {
return hostIP;
}
public void setHostIP(String hostIP) {
this.hostIP = hostIP;
}
public V1PodStatus hostIPs(List hostIPs) {
this.hostIPs = hostIPs;
return this;
}
public V1PodStatus addHostIPsItem(V1HostIP hostIPsItem) {
if (this.hostIPs == null) {
this.hostIPs = new ArrayList<>();
}
this.hostIPs.add(hostIPsItem);
return this;
}
/**
* hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod.
* @return hostIPs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod.")
public List getHostIPs() {
return hostIPs;
}
public void setHostIPs(List hostIPs) {
this.hostIPs = hostIPs;
}
public V1PodStatus initContainerStatuses(List initContainerStatuses) {
this.initContainerStatuses = initContainerStatuses;
return this;
}
public V1PodStatus addInitContainerStatusesItem(V1ContainerStatus initContainerStatusesItem) {
if (this.initContainerStatuses == null) {
this.initContainerStatuses = new ArrayList<>();
}
this.initContainerStatuses.add(initContainerStatusesItem);
return this;
}
/**
* Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status
* @return initContainerStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status")
public List getInitContainerStatuses() {
return initContainerStatuses;
}
public void setInitContainerStatuses(List initContainerStatuses) {
this.initContainerStatuses = initContainerStatuses;
}
public V1PodStatus message(String message) {
this.message = message;
return this;
}
/**
* A human readable message indicating details about why the pod is in this condition.
* @return message
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A human readable message indicating details about why the pod is in this condition.")
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public V1PodStatus nominatedNodeName(String nominatedNodeName) {
this.nominatedNodeName = nominatedNodeName;
return this;
}
/**
* nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.
* @return nominatedNodeName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.")
public String getNominatedNodeName() {
return nominatedNodeName;
}
public void setNominatedNodeName(String nominatedNodeName) {
this.nominatedNodeName = nominatedNodeName;
}
public V1PodStatus observedGeneration(Long observedGeneration) {
this.observedGeneration = observedGeneration;
return this;
}
/**
* If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
* @return observedGeneration
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.")
public Long getObservedGeneration() {
return observedGeneration;
}
public void setObservedGeneration(Long observedGeneration) {
this.observedGeneration = observedGeneration;
}
public V1PodStatus phase(String phase) {
this.phase = phase;
return this;
}
/**
* The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
* @return phase
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase")
public String getPhase() {
return phase;
}
public void setPhase(String phase) {
this.phase = phase;
}
public V1PodStatus podIP(String podIP) {
this.podIP = podIP;
return this;
}
/**
* podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.
* @return podIP
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.")
public String getPodIP() {
return podIP;
}
public void setPodIP(String podIP) {
this.podIP = podIP;
}
public V1PodStatus podIPs(List podIPs) {
this.podIPs = podIPs;
return this;
}
public V1PodStatus addPodIPsItem(V1PodIP podIPsItem) {
if (this.podIPs == null) {
this.podIPs = new ArrayList<>();
}
this.podIPs.add(podIPsItem);
return this;
}
/**
* podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.
* @return podIPs
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.")
public List getPodIPs() {
return podIPs;
}
public void setPodIPs(List podIPs) {
this.podIPs = podIPs;
}
public V1PodStatus qosClass(String qosClass) {
this.qosClass = qosClass;
return this;
}
/**
* The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
* @return qosClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes")
public String getQosClass() {
return qosClass;
}
public void setQosClass(String qosClass) {
this.qosClass = qosClass;
}
public V1PodStatus reason(String reason) {
this.reason = reason;
return this;
}
/**
* A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'
* @return reason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'")
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public V1PodStatus resize(String resize) {
this.resize = resize;
return this;
}
/**
* Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources.
* @return resize
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources.")
public String getResize() {
return resize;
}
public void setResize(String resize) {
this.resize = resize;
}
public V1PodStatus resourceClaimStatuses(List resourceClaimStatuses) {
this.resourceClaimStatuses = resourceClaimStatuses;
return this;
}
public V1PodStatus addResourceClaimStatusesItem(V1PodResourceClaimStatus resourceClaimStatusesItem) {
if (this.resourceClaimStatuses == null) {
this.resourceClaimStatuses = new ArrayList<>();
}
this.resourceClaimStatuses.add(resourceClaimStatusesItem);
return this;
}
/**
* Status of resource claims.
* @return resourceClaimStatuses
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Status of resource claims.")
public List getResourceClaimStatuses() {
return resourceClaimStatuses;
}
public void setResourceClaimStatuses(List resourceClaimStatuses) {
this.resourceClaimStatuses = resourceClaimStatuses;
}
public V1PodStatus startTime(OffsetDateTime startTime) {
this.startTime = startTime;
return this;
}
/**
* RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.
* @return startTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.")
public OffsetDateTime getStartTime() {
return startTime;
}
public void setStartTime(OffsetDateTime startTime) {
this.startTime = startTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1PodStatus v1PodStatus = (V1PodStatus) o;
return Objects.equals(this.conditions, v1PodStatus.conditions) &&
Objects.equals(this.containerStatuses, v1PodStatus.containerStatuses) &&
Objects.equals(this.ephemeralContainerStatuses, v1PodStatus.ephemeralContainerStatuses) &&
Objects.equals(this.hostIP, v1PodStatus.hostIP) &&
Objects.equals(this.hostIPs, v1PodStatus.hostIPs) &&
Objects.equals(this.initContainerStatuses, v1PodStatus.initContainerStatuses) &&
Objects.equals(this.message, v1PodStatus.message) &&
Objects.equals(this.nominatedNodeName, v1PodStatus.nominatedNodeName) &&
Objects.equals(this.observedGeneration, v1PodStatus.observedGeneration) &&
Objects.equals(this.phase, v1PodStatus.phase) &&
Objects.equals(this.podIP, v1PodStatus.podIP) &&
Objects.equals(this.podIPs, v1PodStatus.podIPs) &&
Objects.equals(this.qosClass, v1PodStatus.qosClass) &&
Objects.equals(this.reason, v1PodStatus.reason) &&
Objects.equals(this.resize, v1PodStatus.resize) &&
Objects.equals(this.resourceClaimStatuses, v1PodStatus.resourceClaimStatuses) &&
Objects.equals(this.startTime, v1PodStatus.startTime);
}
@Override
public int hashCode() {
return Objects.hash(conditions, containerStatuses, ephemeralContainerStatuses, hostIP, hostIPs, initContainerStatuses, message, nominatedNodeName, observedGeneration, phase, podIP, podIPs, qosClass, reason, resize, resourceClaimStatuses, startTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1PodStatus {\n");
sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n");
sb.append(" containerStatuses: ").append(toIndentedString(containerStatuses)).append("\n");
sb.append(" ephemeralContainerStatuses: ").append(toIndentedString(ephemeralContainerStatuses)).append("\n");
sb.append(" hostIP: ").append(toIndentedString(hostIP)).append("\n");
sb.append(" hostIPs: ").append(toIndentedString(hostIPs)).append("\n");
sb.append(" initContainerStatuses: ").append(toIndentedString(initContainerStatuses)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append(" nominatedNodeName: ").append(toIndentedString(nominatedNodeName)).append("\n");
sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n");
sb.append(" phase: ").append(toIndentedString(phase)).append("\n");
sb.append(" podIP: ").append(toIndentedString(podIP)).append("\n");
sb.append(" podIPs: ").append(toIndentedString(podIPs)).append("\n");
sb.append(" qosClass: ").append(toIndentedString(qosClass)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" resize: ").append(toIndentedString(resize)).append("\n");
sb.append(" resourceClaimStatuses: ").append(toIndentedString(resourceClaimStatuses)).append("\n");
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy