Class UntypedNode
java.lang.Object
com.microsoft.kiota.serialization.UntypedNode
- All Implemented Interfaces:
Parsable
- Direct Known Subclasses:
UntypedArray,UntypedBoolean,UntypedDecimal,UntypedDouble,UntypedFloat,UntypedInteger,UntypedLong,UntypedNull,UntypedObject,UntypedString
Base class for untyped node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UntypedNodecreateFromDiscriminatorValue(ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value.The deserialization information for the current model.getValue()Gets the value assigned to untyped node.voidserialize(SerializationWriter writer) Serializes the current object
-
Constructor Details
-
UntypedNode
public UntypedNode()
-
-
Method Details
-
getFieldDeserializers
The deserialization information for the current model.- Specified by:
getFieldDeserializersin interfaceParsable- Returns:
- The map of serializer methods for this object.
-
serialize
Serializes the current object -
getValue
Gets the value assigned to untyped node.- Returns:
- The value assigned to untyped node.
-
createFromDiscriminatorValue
Creates a new instance of the appropriate class based on discriminator value.- Parameters:
parseNode- The parse node to crate from- Returns:
- A new UntypedNode instance.
-