Class V1GroupVersionForDiscovery

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1GroupVersionForDiscovery extends Object
GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.
  • Field Details

  • Constructor Details

    • V1GroupVersionForDiscovery

      public V1GroupVersionForDiscovery(String groupVersion, String version)
  • Method Details

    • getGroupVersion

      public String getGroupVersion()
      groupVersion specifies the API group and version in the form \"group/version\"
      Returns:
      the groupVersion property value
    • setGroupVersion

      public void setGroupVersion(String groupVersion)
      Set the groupVersion property value
      Parameters:
      groupVersion - property value to set
    • groupVersion

      public V1GroupVersionForDiscovery groupVersion(String groupVersion)
      Set groupVersion in a chainable fashion.
      Returns:
      The same instance of V1GroupVersionForDiscovery for chaining.
    • getVersion

      public String getVersion()
      version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.
      Returns:
      the version property value
    • setVersion

      public void setVersion(String version)
      Set the version property value
      Parameters:
      version - property value to set
    • version

      public V1GroupVersionForDiscovery version(String version)
      Set version in a chainable fashion.
      Returns:
      The same instance of V1GroupVersionForDiscovery 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