APIResourceList constructor
- Input<
String> ? apiVersion, - required Input<
String> groupVersion, - Input<
String> ? kind, - required Input<
List< resources,APIResource> >
Creates a new APIResourceList.
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
groupVersion groupVersion is the group and version this APIResourceList is for.
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
resources resources contains the name of the resources and if they are namespaced.
Implementation
const APIResourceList({
this.apiVersion,
required this.groupVersion,
this.kind,
required this.resources,
});