Documentation
Table of contents

Enumeration ValidationStatus

ValidationStatus describes the outcome of a validation process on a field.

  • JavaScript
  • Android
  • Objective-C
  • Swift
  • C++
  • C#
  • Python
enum EnumValidationStatus {
    /** 
     * Indicates that no validation has been performed.
     */
    VS_NONE = 0,
    /** 
     * Indicates that the validation process was completed successfully.
     */
    VS_SUCCEEDED = 1,
    /** 
     * Indicates that the validation process failed.
     */
    VS_FAILED = 2
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumValidationStatus
{
   /** The field has no validation specified. */
   public static final int VS_NONE = 0;
   /** The validation for the field has been succeeded. */
   public static final int VS_SUCCEEDED = 1;
   /** The validation for the field has been failed. */
   public static final int VS_FAILED = 2;
}
typedef NS_ENUM(NSInteger, DSValidationStatus)
{
   /** The field has no validation specified. */
   DSValidationStatusNone = 0,
   /** The validation for the field has been succeeded. */
   DSValidationStatusSucceeded = 1,
   /** The validation for the field has been failed. */
   DSValidationStatusFailed = 2
};
public enum ValidationStatus : Int
{
   /** The field has no validation specified. */
   none = 0
   /** The validation for the field has been succeeded. */
   succeeded = 1
   /** The validation for the field has been failed. */
   failed = 2
}
typedef enum ValidationStatus
{
   /** The field has no validation specified. */
   VS_NONE,
   /** The validation for the field has been succeeded. */
   VS_SUCCEEDED,
   /** The validation for the field has been failed. */
   VS_FAILED
} ValidationStatus;
public enum EnumValidationStatus
{
    /** The field has no validation specified. */
    VS_NONE,
    /** The validation for the field has been succeeded. */
    VS_SUCCEEDED,
    /** The validation for the field has been failed. */
    VS_FAILED
}
class EnumValidationStatus(IntEnum):
    # The field has no validation specified. 
    VS_NONE
    # The validation for the field has been succeeded. 
    VS_SUCCEEDED
    # The validation for the field has been failed. 
    VS_FAILED

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: