Package kubevirt.io

Class V1APIResourceList


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1APIResourceList
    extends java.lang.Object
    APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
    • Field Detail

      • apiVersion

        private java.lang.String apiVersion
      • groupVersion

        private java.lang.String groupVersion
      • kind

        private java.lang.String kind
    • Constructor Detail

      • V1APIResourceList

        public V1APIResourceList()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
        Returns:
        apiVersion
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
      • groupVersion

        public V1APIResourceList groupVersion​(java.lang.String groupVersion)
      • getGroupVersion

        public java.lang.String getGroupVersion()
        groupVersion is the group and version this APIResourceList is for.
        Returns:
        groupVersion
      • setGroupVersion

        public void setGroupVersion​(java.lang.String groupVersion)
      • getKind

        public java.lang.String getKind()
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
        Returns:
        kind
      • setKind

        public void setKind​(java.lang.String kind)
      • getResources

        public java.util.List<V1APIResource> getResources()
        resources contains the name of the resources and if they are namespaced.
        Returns:
        resources
      • setResources

        public void setResources​(java.util.List<V1APIResource> resources)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

        private java.lang.String toIndentedString​(java.lang.Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).