Class ReferenceGraphNode
java.lang.Object
io.apicurio.registry.rest.client.models.ReferenceGraphNode
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable
@Generated("com.microsoft.kiota")
public class ReferenceGraphNode
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable
A node in the reference graph representing an artifact version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceGraphNodecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the artifactId property value.Gets the artifactType property value.The deserialization information for the current modelGets the groupId property value.getId()Gets the id property value.Gets the isCycleNode property value.Gets the isRoot property value.getName()Gets the name property value.Gets the version property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetArtifactId(String value) Sets the artifactId property value.voidsetArtifactType(String value) Sets the artifactType property value.voidsetGroupId(String value) Sets the groupId property value.voidSets the id property value.voidsetIsCycleNode(Boolean value) Sets the isCycleNode property value.voidSets the isRoot property value.voidSets the name property value.voidsetVersion(String value) Sets the version property value.
-
Constructor Details
-
ReferenceGraphNode
public ReferenceGraphNode()Instantiates a newReferenceGraphNodeand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ReferenceGraphNode createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
ReferenceGraphNode
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getArtifactId
Gets the artifactId property value. The artifact ID.- Returns:
- a
String
-
getArtifactType
Gets the artifactType property value. The type of the artifact.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getGroupId
Gets the groupId property value. The group ID of the artifact.- Returns:
- a
String
-
getId
Gets the id property value. A unique identifier for this node within the graph.- Returns:
- a
String
-
getIsCycleNode
Gets the isCycleNode property value. Whether this node is part of a circular reference.- Returns:
- a
Boolean
-
getIsRoot
Gets the isRoot property value. Whether this node is the root node of the graph.- Returns:
- a
Boolean
-
getName
Gets the name property value. The name of the artifact version.- Returns:
- a
String
-
getVersion
Gets the version property value. The version of the artifact.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setArtifactId
Sets the artifactId property value. The artifact ID.- Parameters:
value- Value to set for the artifactId property.
-
setArtifactType
Sets the artifactType property value. The type of the artifact.- Parameters:
value- Value to set for the artifactType property.
-
setGroupId
Sets the groupId property value. The group ID of the artifact.- Parameters:
value- Value to set for the groupId property.
-
setId
Sets the id property value. A unique identifier for this node within the graph.- Parameters:
value- Value to set for the id property.
-
setIsCycleNode
Sets the isCycleNode property value. Whether this node is part of a circular reference.- Parameters:
value- Value to set for the isCycleNode property.
-
setIsRoot
Sets the isRoot property value. Whether this node is the root node of the graph.- Parameters:
value- Value to set for the isRoot property.
-
setName
Sets the name property value. The name of the artifact version.- Parameters:
value- Value to set for the name property.
-
setVersion
Sets the version property value. The version of the artifact.- Parameters:
value- Value to set for the version property.
-