Package io.fabric8.kubernetes.api.model
Class AnyType
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.AnyType
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IntOrString,RawExtension
public class AnyType extends Object implements Serializable
A holder for a value of any type - a wrapped primitive, an array, or object value.It does not matter what the object type is, default serialization logic will be used.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnyType.Serializer
-
-
-
Field Detail
-
value
protected Object value
-
-
Constructor Detail
-
AnyType
public AnyType()
-
AnyType
public AnyType(Object value)
-
-
Method Detail
-
getValue
public Object getValue()
Get Raw enclosed object.If this instance has been deserialized, the Object will be composed of the default object mapping - a wrapped primitive value, a Map<String, Object>, or a List of those values
- Returns:
- Object value
-
-