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 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 Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate List<V1APIResource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(V1APIResource resourcesItem) apiVersion(String apiVersion) booleanAPIVersion defines the versioned schema of this representation of an object.groupVersion is the group and version this APIResourceList is for.getKind()Kind is a string value representing the REST resource this object represents.resources contains the name of the resources and if they are namespaced.groupVersion(String groupVersion) inthashCode()resources(List<V1APIResource> resources) voidsetApiVersion(String apiVersion) voidsetGroupVersion(String groupVersion) voidvoidsetResources(List<V1APIResource> resources) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
apiVersion
-
groupVersion
-
kind
-
resources
-
-
Constructor Details
-
V1APIResourceList
public V1APIResourceList()
-
-
Method Details
-
apiVersion
-
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
-
groupVersion
-
getGroupVersion
groupVersion is the group and version this APIResourceList is for.- Returns:
- groupVersion
-
setGroupVersion
-
kind
-
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
-
resources
-
addResourcesItem
-
getResources
resources contains the name of the resources and if they are namespaced.- Returns:
- resources
-
setResources
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-