ResponseValidationProperties Class

Definition

Troubleshooter step input response validation properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ResponseValidationPropertiesTypeConverter))]
public class ResponseValidationProperties : Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IResponseValidationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ResponseValidationPropertiesTypeConverter))>]
type ResponseValidationProperties = class
    interface IResponseValidationProperties
    interface IJsonSerializable
Public Class ResponseValidationProperties
Implements IResponseValidationProperties
Inheritance
ResponseValidationProperties
Attributes
Implements

Constructors

Name Description
ResponseValidationProperties()

Creates an new ResponseValidationProperties instance.

Properties

Name Description
IsRequired

Default True

MaxLength

Max text input (open Ended Text).

Regex

Regex used for the input validation.

ValidationErrorMessage

Validation Error Message.

ValidationScope

Validation scope

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResponseValidationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResponseValidationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IResponseValidationProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResponseValidationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to