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.ObjectAPIResourceList 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 V1APIResourceListaddResourcesItem(V1APIResource resourcesItem)V1APIResourceListapiVersion(java.lang.String apiVersion)booleanequals(java.lang.Object o)java.lang.StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.java.lang.StringgetGroupVersion()groupVersion is the group and version this APIResourceList is for.java.lang.StringgetKind()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.V1APIResourceListgroupVersion(java.lang.String groupVersion)inthashCode()V1APIResourceListkind(java.lang.String kind)V1APIResourceListresources(java.util.List<V1APIResource> resources)voidsetApiVersion(java.lang.String apiVersion)voidsetGroupVersion(java.lang.String groupVersion)voidsetKind(java.lang.String kind)voidsetResources(java.util.List<V1APIResource> resources)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-