Class EditableContractMetadata

java.lang.Object
io.apicurio.registry.rest.client.models.EditableContractMetadata
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable

@Generated("com.microsoft.kiota") public class EditableContractMetadata extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable
Editable contract metadata fields.
  • Constructor Details

    • EditableContractMetadata

      public EditableContractMetadata()
      Instantiates a new EditableContractMetadata and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EditableContractMetadata 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 EditableContractMetadata
    • 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>
    • getClassification

      @Nullable public EditableContractMetadataClassification getClassification()
      Gets the classification property value. Data classification level.
      Returns:
      a EditableContractMetadataClassification
    • getCompatibilityGroup

      @Nullable public String getCompatibilityGroup()
      Gets the compatibilityGroup property value. Compatibility group for schema evolution scoping.
      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>>
    • getOwnerDomain

      @Nullable public String getOwnerDomain()
      Gets the ownerDomain property value. The domain the contract belongs to.
      Returns:
      a String
    • getOwnerTeam

      @Nullable public String getOwnerTeam()
      Gets the ownerTeam property value. The team that owns the contract.
      Returns:
      a String
    • getStage

      @Nullable public EditableContractMetadataStage getStage()
      Gets the stage property value. Promotion stage.
      Returns:
      a EditableContractMetadataStage
    • getStatus

      @Nullable public EditableContractMetadataStatus getStatus()
      Gets the status property value. The contract lifecycle status.
      Returns:
      a EditableContractMetadataStatus
    • getSupportContact

      @Nullable public String getSupportContact()
      Gets the supportContact property value. Support contact email.
      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.
    • setClassification

      public void setClassification(@Nullable EditableContractMetadataClassification value)
      Sets the classification property value. Data classification level.
      Parameters:
      value - Value to set for the classification property.
    • setCompatibilityGroup

      public void setCompatibilityGroup(@Nullable String value)
      Sets the compatibilityGroup property value. Compatibility group for schema evolution scoping.
      Parameters:
      value - Value to set for the compatibilityGroup property.
    • setOwnerDomain

      public void setOwnerDomain(@Nullable String value)
      Sets the ownerDomain property value. The domain the contract belongs to.
      Parameters:
      value - Value to set for the ownerDomain property.
    • setOwnerTeam

      public void setOwnerTeam(@Nullable String value)
      Sets the ownerTeam property value. The team that owns the contract.
      Parameters:
      value - Value to set for the ownerTeam property.
    • setStage

      public void setStage(@Nullable EditableContractMetadataStage value)
      Sets the stage property value. Promotion stage.
      Parameters:
      value - Value to set for the stage property.
    • setStatus

      public void setStatus(@Nullable EditableContractMetadataStatus value)
      Sets the status property value. The contract lifecycle status.
      Parameters:
      value - Value to set for the status property.
    • setSupportContact

      public void setSupportContact(@Nullable String value)
      Sets the supportContact property value. Support contact email.
      Parameters:
      value - Value to set for the supportContact property.