Language

ValidationMessage Class

Definition

Validation message object.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ValidationMessageTypeConverter))]
public class ValidationMessage : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IValidationMessage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ValidationMessageTypeConverter))>]
type ValidationMessage = class
    interface IValidationMessage
    interface IJsonSerializable
Public Class ValidationMessage
Implements IValidationMessage
Inheritance
ValidationMessage
Attributes
Implements

Constructors

Name Description
ValidationMessage()

Creates an new ValidationMessage instance.

Properties

Name Description
Message

Validation message string.

State

Severity of validation message.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidationMessage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidationMessage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IValidationMessage.

FromJsonString(String)

Creates a new instance of ValidationMessage, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidationMessage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to