Package kubevirt.io
Class V1APIResourceList
- java.lang.Object
-
- kubevirt.io.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.
-
-
Constructor Summary
Constructors Constructor Description V1APIResourceList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1APIResourceList
addResourcesItem(V1APIResource resourcesItem)
V1APIResourceList
apiVersion(java.lang.String apiVersion)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.java.lang.String
getGroupVersion()
groupVersion is the group and version this APIResourceList is for.java.lang.String
getKind()
Kind is a string value representing the REST resource this object represents.java.util.List<V1APIResource>
getResources()
resources contains the name of the resources and if they are namespaced.V1APIResourceList
groupVersion(java.lang.String groupVersion)
int
hashCode()
V1APIResourceList
kind(java.lang.String kind)
V1APIResourceList
resources(java.util.List<V1APIResource> resources)
void
setApiVersion(java.lang.String apiVersion)
void
setGroupVersion(java.lang.String groupVersion)
void
setKind(java.lang.String kind)
void
setResources(java.util.List<V1APIResource> resources)
java.lang.String
toString()
-
-
-
Method Detail
-
apiVersion
public V1APIResourceList apiVersion(java.lang.String apiVersion)
-
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)
-
kind
public V1APIResourceList kind(java.lang.String kind)
-
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)
-
resources
public V1APIResourceList resources(java.util.List<V1APIResource> resources)
-
addResourcesItem
public V1APIResourceList addResourcesItem(V1APIResource resourcesItem)
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-