Class ExecutePostResponseViolations
java.lang.Object
io.apicurio.registry.rest.client.groups.item.artifacts.item.versions.item.contract.execute.ExecutePostResponseViolations
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable
@Generated("com.microsoft.kiota")
public class ExecutePostResponseViolations
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newExecutePostResponseViolationsand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the action property value.Gets the AdditionalData property value.The deserialization information for the current modelGets the message property value.Gets the ruleName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the action property value.voidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetMessage(String value) Sets the message property value.voidsetRuleName(String value) Sets the ruleName property value.
-
Constructor Details
-
ExecutePostResponseViolations
public ExecutePostResponseViolations()Instantiates a newExecutePostResponseViolationsand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ExecutePostResponseViolations 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
ExecutePostResponseViolations
-
getAction
Gets the action property value. The action property- Returns:
- a
String
-
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. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getMessage
Gets the message property value. The message property- Returns:
- a
String
-
getRuleName
Gets the ruleName property value. The ruleName property- 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
-
setAction
Sets the action property value. The action property- Parameters:
value- Value to set for the action property.
-
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.
-
setMessage
Sets the message property value. The message property- Parameters:
value- Value to set for the message property.
-
setRuleName
Sets the ruleName property value. The ruleName property- Parameters:
value- Value to set for the ruleName property.
-