Class V1APIResourceList
java.lang.Object
io.kubernetes.client.openapi.models.V1APIResourceList
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
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
Fields -
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) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_GROUP_VERSION
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_RESOURCES
- See Also:
-
-
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/sig-architecture/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/sig-architecture/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
-