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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EditableContractMetadatacreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the classification property value.Gets the compatibilityGroup property value.The deserialization information for the current modelGets the ownerDomain property value.Gets the ownerTeam property value.getStage()Gets the stage property value.Gets the status property value.Gets the supportContact property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the classification property value.voidsetCompatibilityGroup(String value) Sets the compatibilityGroup property value.voidsetOwnerDomain(String value) Sets the ownerDomain property value.voidsetOwnerTeam(String value) Sets the ownerTeam property value.voidSets the stage property value.voidSets the status property value.voidsetSupportContact(String value) Sets the supportContact property value.
-
Constructor Details
-
EditableContractMetadata
public EditableContractMetadata()Instantiates a newEditableContractMetadataand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getClassification
Gets the classification property value. Data classification level.- Returns:
- a
EditableContractMetadataClassification
-
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 -
getOwnerDomain
Gets the ownerDomain property value. The domain the contract belongs to.- Returns:
- a
String
-
getOwnerTeam
Gets the ownerTeam property value. The team that owns the contract.- Returns:
- a
String
-
getStage
Gets the stage property value. Promotion stage.- Returns:
- a
EditableContractMetadataStage
-
getStatus
Gets the status property value. The contract lifecycle status.- Returns:
- a
EditableContractMetadataStatus
-
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:
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.
-
setClassification
Sets the classification property value. Data classification level.- Parameters:
value- Value to set for the classification property.
-
setCompatibilityGroup
Sets the compatibilityGroup property value. Compatibility group for schema evolution scoping.- Parameters:
value- Value to set for the compatibilityGroup property.
-
setOwnerDomain
Sets the ownerDomain property value. The domain the contract belongs to.- Parameters:
value- Value to set for the ownerDomain property.
-
setOwnerTeam
Sets the ownerTeam property value. The team that owns the contract.- Parameters:
value- Value to set for the ownerTeam property.
-
setStage
Sets the stage property value. Promotion stage.- Parameters:
value- Value to set for the stage property.
-
setStatus
Sets the status property value. The contract lifecycle status.- Parameters:
value- Value to set for the status property.
-
setSupportContact
Sets the supportContact property value. Support contact email.- Parameters:
value- Value to set for the supportContact property.
-