Package io.fabric8.kubernetes.api.model
Class NamedContext
java.lang.Object
io.fabric8.kubernetes.api.model.NamedContext
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class NamedContext extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NamedContext()No args constructor for use in serializationNamedContext(Context context, String name) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()ContextgetContext()StringgetName()voidsetAdditionalProperty(String name, Object value)voidsetContext(Context context)voidsetName(String name)
-
Constructor Details
-
NamedContext
public NamedContext()No args constructor for use in serialization -
NamedContext
- Parameters:
context-name-
-
-
Method Details
-
getContext
- Returns:
- The context
-
setContext
- Parameters:
context- The context
-
getName
- Returns:
- The name
-
setName
- Parameters:
name- The name
-
getAdditionalProperties
-
setAdditionalProperty
-