Package io.fabric8.kubernetes.api.model
Class APIResourceList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.APIResourceList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<APIResourceListBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class APIResourceList extends Object implements io.fabric8.kubernetes.api.builder.Editable<APIResourceListBuilder>, KubernetesResource
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIResourceList()No args constructor for use in serializationAPIResourceList(String apiVersion, String groupVersion, String kind, List<APIResource> resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIResourceListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetGroupVersion()groupVersion is the group and version this APIResourceList is for.StringgetKind()Kind is a string value representing the REST resource this object represents.List<APIResource>getResources()resources contains the name of the resources and if they are namespaced.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetGroupVersion(String groupVersion)groupVersion is the group and version this APIResourceList is for.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetResources(List<APIResource> resources)resources contains the name of the resources and if they are namespaced.APIResourceListBuildertoBuilder()
-
-
-
Constructor Detail
-
APIResourceList
public APIResourceList()
No args constructor for use in serialization
-
APIResourceList
public APIResourceList(String apiVersion, String groupVersion, String kind, List<APIResource> resources)
-
-
Method Detail
-
getApiVersion
public 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/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
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
-
getGroupVersion
public String getGroupVersion()
groupVersion is the group and version this APIResourceList is for.
-
setGroupVersion
public void setGroupVersion(String groupVersion)
groupVersion is the group and version this APIResourceList is for.
-
getKind
public 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/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
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
-
getResources
public List<APIResource> getResources()
resources contains the name of the resources and if they are namespaced.
-
setResources
public void setResources(List<APIResource> resources)
resources contains the name of the resources and if they are namespaced.
-
edit
public APIResourceListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<APIResourceListBuilder>
-
toBuilder
public APIResourceListBuilder toBuilder()
-
-