Class V1alpha1ServerStorageVersion

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1ServerStorageVersion

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha1ServerStorageVersion extends Object
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
  • Field Details

  • Constructor Details

    • V1alpha1ServerStorageVersion

      public V1alpha1ServerStorageVersion()
  • Method Details

    • getApiServerID

      public String getApiServerID()
      The ID of the reporting API server.
      Returns:
      the apiServerID property value
    • setApiServerID

      public void setApiServerID(String apiServerID)
      Set the apiServerID property value
      Parameters:
      apiServerID - property value to set
    • apiServerID

      public V1alpha1ServerStorageVersion apiServerID(String apiServerID)
      Set apiServerID in a chainable fashion.
      Returns:
      The same instance of V1alpha1ServerStorageVersion for chaining.
    • getDecodableVersions

      public List<@NotNull String> getDecodableVersions()
      The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.
      Returns:
      the decodableVersions property value
    • setDecodableVersions

      public void setDecodableVersions(List<@NotNull String> decodableVersions)
      Set the decodableVersions property value
      Parameters:
      decodableVersions - property value to set
    • decodableVersions

      public V1alpha1ServerStorageVersion decodableVersions(List<@NotNull String> decodableVersions)
      Set decodableVersions in a chainable fashion.
      Returns:
      The same instance of V1alpha1ServerStorageVersion for chaining.
    • adddecodableVersionsItem

      public V1alpha1ServerStorageVersion adddecodableVersionsItem(String decodableVersionsItem)
      Add an item to the decodableVersions property in a chainable fashion.
      Returns:
      The same instance of V1alpha1ServerStorageVersion for chaining.
    • getEncodingVersion

      public String getEncodingVersion()
      The API server encodes the object to this version when persisting it in the backend (e.g., etcd).
      Returns:
      the encodingVersion property value
    • setEncodingVersion

      public void setEncodingVersion(String encodingVersion)
      Set the encodingVersion property value
      Parameters:
      encodingVersion - property value to set
    • encodingVersion

      public V1alpha1ServerStorageVersion encodingVersion(String encodingVersion)
      Set encodingVersion in a chainable fashion.
      Returns:
      The same instance of V1alpha1ServerStorageVersion for chaining.
    • 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