Package io.fabric8.kubernetes.api.model
Class ServiceList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ServiceList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ServiceListBuilder>,KubernetesResource,KubernetesResourceList<Service>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ServiceList extends Object implements io.fabric8.kubernetes.api.builder.Editable<ServiceListBuilder>, KubernetesResource, KubernetesResourceList<Service>
ServiceList holds a list of services.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceList()No args constructor for use in serializationServiceList(String apiVersion, List<Service> items, String kind, ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Service>getItems()List of servicesStringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()ServiceList holds a list of services.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<Service> items)List of servicesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)ServiceList holds a list of services.ServiceListBuildertoBuilder()
-
-
-
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<Service> getItems()
List of services- Specified by:
getItemsin interfaceKubernetesResourceList<Service>
-
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 ListMeta getMetadata()
ServiceList holds a list of services.- Specified by:
getMetadatain interfaceKubernetesResourceList<Service>
-
setMetadata
public void setMetadata(ListMeta metadata)
ServiceList holds a list of services.
-
edit
public ServiceListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ServiceListBuilder>
-
toBuilder
public ServiceListBuilder toBuilder()
-
-