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 Details

    • ReferenceGraphNode

      public ReferenceGraphNode()
      Instantiates a new ReferenceGraphNode and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getArtifactId

      @Nullable public String getArtifactId()
      Gets the artifactId property value. The artifact ID.
      Returns:
      a String
    • getArtifactType

      @Nullable public 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroupId

      @Nullable public String getGroupId()
      Gets the groupId property value. The group ID of the artifact.
      Returns:
      a String
    • getId

      @Nullable public String getId()
      Gets the id property value. A unique identifier for this node within the graph.
      Returns:
      a String
    • getIsCycleNode

      @Nullable public Boolean getIsCycleNode()
      Gets the isCycleNode property value. Whether this node is part of a circular reference.
      Returns:
      a Boolean
    • getIsRoot

      @Nullable public Boolean getIsRoot()
      Gets the isRoot property value. Whether this node is the root node of the graph.
      Returns:
      a Boolean
    • getName

      @Nullable public String getName()
      Gets the name property value. The name of the artifact version.
      Returns:
      a String
    • getVersion

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setArtifactId(@Nullable String value)
      Sets the artifactId property value. The artifact ID.
      Parameters:
      value - Value to set for the artifactId property.
    • setArtifactType

      public void setArtifactType(@Nullable String value)
      Sets the artifactType property value. The type of the artifact.
      Parameters:
      value - Value to set for the artifactType property.
    • setGroupId

      public void setGroupId(@Nullable String value)
      Sets the groupId property value. The group ID of the artifact.
      Parameters:
      value - Value to set for the groupId property.
    • setId

      public void setId(@Nullable String value)
      Sets the id property value. A unique identifier for this node within the graph.
      Parameters:
      value - Value to set for the id property.
    • setIsCycleNode

      public void setIsCycleNode(@Nullable Boolean value)
      Sets the isCycleNode property value. Whether this node is part of a circular reference.
      Parameters:
      value - Value to set for the isCycleNode property.
    • setIsRoot

      public void setIsRoot(@Nullable Boolean value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. The name of the artifact version.
      Parameters:
      value - Value to set for the name property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version of the artifact.
      Parameters:
      value - Value to set for the version property.