Class V1APIResourceList
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1APIResourceList
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
-
Constructor Summary
ConstructorDescriptionV1APIResourceList
(String groupVersion, List<@Valid V1APIResource> resources) -
Method Summary
Modifier and TypeMethodDescriptionaddresourcesItem
(V1APIResource resourcesItem) Add an item to the resources property in a chainable fashion.apiVersion
(String apiVersion) Set apiVersion in a chainable fashion.boolean
APIVersion 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.List<@Valid V1APIResource>
resources contains the name of the resources and if they are namespaced.groupVersion
(String groupVersion) Set groupVersion in a chainable fashion.int
hashCode()
Set kind in a chainable fashion.resources
(List<@Valid V1APIResource> resources) Set resources in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setGroupVersion
(String groupVersion) Set the groupVersion property valuevoid
Set the kind property valuevoid
setResources
(List<@Valid V1APIResource> resources) Set the resources property valuetoString()
-
Field Details
-
JSON_PROPERTY_GROUP_VERSION
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
-
Constructor Details
-
V1APIResourceList
-
-
Method Details
-
getGroupVersion
groupVersion is the group and version this APIResourceList is for.- Returns:
- the groupVersion property value
-
setGroupVersion
Set the groupVersion property value- Parameters:
groupVersion
- property value to set
-
groupVersion
Set groupVersion in a chainable fashion.- Returns:
- The same instance of V1APIResourceList for chaining.
-
getResources
resources contains the name of the resources and if they are namespaced.- Returns:
- the resources property value
-
setResources
Set the resources property value- Parameters:
resources
- property value to set
-
resources
Set resources in a chainable fashion.- Returns:
- The same instance of V1APIResourceList for chaining.
-
addresourcesItem
Add an item to the resources property in a chainable fashion.- Returns:
- The same instance of V1APIResourceList for chaining.
-
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:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value- Parameters:
apiVersion
- property value to set
-
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1APIResourceList for chaining.
-
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:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind
- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1APIResourceList for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-