Class PlayKubeReport

java.lang.Object
io.github.alersrt.pod4j.openapi.model.PlayKubeReport

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class PlayKubeReport extends Object
PlayKubeReport
  • Field Details

  • Constructor Details

    • PlayKubeReport

      public PlayKubeReport()
  • Method Details

    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to PlayKubeReport
    • fromJson

      public static PlayKubeReport fromJson(String jsonString) throws IOException
      Create an instance of PlayKubeReport given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of PlayKubeReport
      Throws:
      IOException - if the JSON string is invalid with respect to PlayKubeReport
    • exitCode

      public PlayKubeReport exitCode(Integer exitCode)
    • getExitCode

      @Nullable public Integer getExitCode()
      If set, exit with the specified exit code.
      Returns:
      exitCode
    • setExitCode

      public void setExitCode(Integer exitCode)
    • pods

      public PlayKubeReport pods(List<@Valid PlayKubePod> pods)
    • addPodsItem

      public PlayKubeReport addPodsItem(PlayKubePod podsItem)
    • getPods

      @Nullable @Valid public @Valid List<@Valid PlayKubePod> getPods()
      Pods - pods created by play kube.
      Returns:
      pods
    • setPods

      public void setPods(List<@Valid PlayKubePod> pods)
    • rmReport

      public PlayKubeReport rmReport(List<@Valid PodRmReport> rmReport)
    • addRmReportItem

      public PlayKubeReport addRmReportItem(PodRmReport rmReportItem)
    • getRmReport

      @Nullable @Valid public @Valid List<@Valid PodRmReport> getRmReport()
      Get rmReport
      Returns:
      rmReport
    • setRmReport

      public void setRmReport(List<@Valid PodRmReport> rmReport)
    • secretRmReport

      public PlayKubeReport secretRmReport(List<@Valid SecretRmReport> secretRmReport)
    • addSecretRmReportItem

      public PlayKubeReport addSecretRmReportItem(SecretRmReport secretRmReportItem)
    • getSecretRmReport

      @Nullable @Valid public @Valid List<@Valid SecretRmReport> getSecretRmReport()
      Get secretRmReport
      Returns:
      secretRmReport
    • setSecretRmReport

      public void setSecretRmReport(List<@Valid SecretRmReport> secretRmReport)
    • secrets

      public PlayKubeReport secrets(List<@Valid PlaySecret> secrets)
    • addSecretsItem

      public PlayKubeReport addSecretsItem(PlaySecret secretsItem)
    • getSecrets

      @Nullable @Valid public @Valid List<@Valid PlaySecret> getSecrets()
      Secrets - secrets created by play kube
      Returns:
      secrets
    • setSecrets

      public void setSecrets(List<@Valid PlaySecret> secrets)
    • serviceContainerID

      public PlayKubeReport serviceContainerID(String serviceContainerID)
    • getServiceContainerID

      @Nullable public String getServiceContainerID()
      ServiceContainerID - ID of the service container if one is created
      Returns:
      serviceContainerID
    • setServiceContainerID

      public void setServiceContainerID(String serviceContainerID)
    • stopReport

      public PlayKubeReport stopReport(List<@Valid PodStopReport> stopReport)
    • addStopReportItem

      public PlayKubeReport addStopReportItem(PodStopReport stopReportItem)
    • getStopReport

      @Nullable @Valid public @Valid List<@Valid PodStopReport> getStopReport()
      Get stopReport
      Returns:
      stopReport
    • setStopReport

      public void setStopReport(List<@Valid PodStopReport> stopReport)
    • volumeRmReport

      public PlayKubeReport volumeRmReport(List<@Valid VolumeRmReport> volumeRmReport)
    • addVolumeRmReportItem

      public PlayKubeReport addVolumeRmReportItem(VolumeRmReport volumeRmReportItem)
    • getVolumeRmReport

      @Nullable @Valid public @Valid List<@Valid VolumeRmReport> getVolumeRmReport()
      Get volumeRmReport
      Returns:
      volumeRmReport
    • setVolumeRmReport

      public void setVolumeRmReport(List<@Valid VolumeRmReport> volumeRmReport)
    • volumes

      public PlayKubeReport volumes(List<@Valid PlayKubeVolume> volumes)
    • addVolumesItem

      public PlayKubeReport addVolumesItem(PlayKubeVolume volumesItem)
    • getVolumes

      @Nullable @Valid public @Valid List<@Valid PlayKubeVolume> getVolumes()
      Volumes - volumes created by play kube.
      Returns:
      volumes
    • setVolumes

      public void setVolumes(List<@Valid PlayKubeVolume> volumes)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJson

      public String toJson()
      Convert an instance of PlayKubeReport to an JSON string
      Returns:
      JSON string