Class TemplateList

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<TemplateListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<Template>, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class TemplateList
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<TemplateListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<Template>
    TemplateList is a list of Template objects.


    Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

    See Also:
    Serialized Form
    • Constructor Detail

      • TemplateList

        public TemplateList()
        No args constructor for use in serialization
      • TemplateList

        public TemplateList​(String apiVersion,
                            List<Template> items,
                            String kind,
                            io.fabric8.kubernetes.api.model.ListMeta metadata)
    • 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
      • getItems

        public List<Template> getItems()
        items is a list of templates
        Specified by:
        getItems in interface io.fabric8.kubernetes.api.model.KubernetesResourceList<Template>
      • setItems

        public void setItems​(List<Template> items)
        items is a list of templates
      • 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
      • getMetadata

        public io.fabric8.kubernetes.api.model.ListMeta getMetadata()
        TemplateList is a list of Template objects.


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

        Specified by:
        getMetadata in interface io.fabric8.kubernetes.api.model.KubernetesResourceList<Template>
      • setMetadata

        public void setMetadata​(io.fabric8.kubernetes.api.model.ListMeta metadata)
        TemplateList is a list of Template objects.


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)