Class V1CrossVersionObjectReference

java.lang.Object
io.kubernetes.client.openapi.models.V1CrossVersionObjectReference

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1CrossVersionObjectReference extends Object
CrossVersionObjectReference contains enough information to let you identify the referred resource.
  • Field Details

  • Constructor Details

    • V1CrossVersionObjectReference

      public V1CrossVersionObjectReference()
  • Method Details

    • apiVersion

      public V1CrossVersionObjectReference apiVersion(String apiVersion)
    • getApiVersion

      @Nullable public String getApiVersion()
      apiVersion is the API version of the referent
      Returns:
      apiVersion
    • setApiVersion

      public void setApiVersion(String apiVersion)
    • kind

    • getKind

      public String getKind()
      kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      Returns:
      kind
    • setKind

      public void setKind(String kind)
    • name

    • getName

      public String getName()
      name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      Returns:
      name
    • setName

      public void setName(String name)
    • 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