/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the acm-2015-12-08.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CertificateManager { /// /// Constants used for properties of type CertificateStatus. /// public class CertificateStatus : ConstantClass { /// /// Constant EXPIRED for CertificateStatus /// public static readonly CertificateStatus EXPIRED = new CertificateStatus("EXPIRED"); /// /// Constant FAILED for CertificateStatus /// public static readonly CertificateStatus FAILED = new CertificateStatus("FAILED"); /// /// Constant INACTIVE for CertificateStatus /// public static readonly CertificateStatus INACTIVE = new CertificateStatus("INACTIVE"); /// /// Constant ISSUED for CertificateStatus /// public static readonly CertificateStatus ISSUED = new CertificateStatus("ISSUED"); /// /// Constant PENDING_VALIDATION for CertificateStatus /// public static readonly CertificateStatus PENDING_VALIDATION = new CertificateStatus("PENDING_VALIDATION"); /// /// Constant REVOKED for CertificateStatus /// public static readonly CertificateStatus REVOKED = new CertificateStatus("REVOKED"); /// /// Constant VALIDATION_TIMED_OUT for CertificateStatus /// public static readonly CertificateStatus VALIDATION_TIMED_OUT = new CertificateStatus("VALIDATION_TIMED_OUT"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CertificateStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CertificateStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CertificateStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CertificateTransparencyLoggingPreference. /// public class CertificateTransparencyLoggingPreference : ConstantClass { /// /// Constant DISABLED for CertificateTransparencyLoggingPreference /// public static readonly CertificateTransparencyLoggingPreference DISABLED = new CertificateTransparencyLoggingPreference("DISABLED"); /// /// Constant ENABLED for CertificateTransparencyLoggingPreference /// public static readonly CertificateTransparencyLoggingPreference ENABLED = new CertificateTransparencyLoggingPreference("ENABLED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CertificateTransparencyLoggingPreference(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CertificateTransparencyLoggingPreference FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CertificateTransparencyLoggingPreference(string value) { return FindValue(value); } } /// /// Constants used for properties of type CertificateType. /// public class CertificateType : ConstantClass { /// /// Constant AMAZON_ISSUED for CertificateType /// public static readonly CertificateType AMAZON_ISSUED = new CertificateType("AMAZON_ISSUED"); /// /// Constant IMPORTED for CertificateType /// public static readonly CertificateType IMPORTED = new CertificateType("IMPORTED"); /// /// Constant PRIVATE for CertificateType /// public static readonly CertificateType PRIVATE = new CertificateType("PRIVATE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CertificateType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CertificateType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CertificateType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DomainStatus. /// public class DomainStatus : ConstantClass { /// /// Constant FAILED for DomainStatus /// public static readonly DomainStatus FAILED = new DomainStatus("FAILED"); /// /// Constant PENDING_VALIDATION for DomainStatus /// public static readonly DomainStatus PENDING_VALIDATION = new DomainStatus("PENDING_VALIDATION"); /// /// Constant SUCCESS for DomainStatus /// public static readonly DomainStatus SUCCESS = new DomainStatus("SUCCESS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DomainStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DomainStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DomainStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExtendedKeyUsageName. /// public class ExtendedKeyUsageName : ConstantClass { /// /// Constant ANY for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName ANY = new ExtendedKeyUsageName("ANY"); /// /// Constant CODE_SIGNING for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName CODE_SIGNING = new ExtendedKeyUsageName("CODE_SIGNING"); /// /// Constant CUSTOM for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName CUSTOM = new ExtendedKeyUsageName("CUSTOM"); /// /// Constant EMAIL_PROTECTION for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName EMAIL_PROTECTION = new ExtendedKeyUsageName("EMAIL_PROTECTION"); /// /// Constant IPSEC_END_SYSTEM for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName IPSEC_END_SYSTEM = new ExtendedKeyUsageName("IPSEC_END_SYSTEM"); /// /// Constant IPSEC_TUNNEL for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName IPSEC_TUNNEL = new ExtendedKeyUsageName("IPSEC_TUNNEL"); /// /// Constant IPSEC_USER for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName IPSEC_USER = new ExtendedKeyUsageName("IPSEC_USER"); /// /// Constant NONE for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName NONE = new ExtendedKeyUsageName("NONE"); /// /// Constant OCSP_SIGNING for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName OCSP_SIGNING = new ExtendedKeyUsageName("OCSP_SIGNING"); /// /// Constant TIME_STAMPING for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName TIME_STAMPING = new ExtendedKeyUsageName("TIME_STAMPING"); /// /// Constant TLS_WEB_CLIENT_AUTHENTICATION for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName TLS_WEB_CLIENT_AUTHENTICATION = new ExtendedKeyUsageName("TLS_WEB_CLIENT_AUTHENTICATION"); /// /// Constant TLS_WEB_SERVER_AUTHENTICATION for ExtendedKeyUsageName /// public static readonly ExtendedKeyUsageName TLS_WEB_SERVER_AUTHENTICATION = new ExtendedKeyUsageName("TLS_WEB_SERVER_AUTHENTICATION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ExtendedKeyUsageName(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ExtendedKeyUsageName FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ExtendedKeyUsageName(string value) { return FindValue(value); } } /// /// Constants used for properties of type FailureReason. /// public class FailureReason : ConstantClass { /// /// Constant ADDITIONAL_VERIFICATION_REQUIRED for FailureReason /// public static readonly FailureReason ADDITIONAL_VERIFICATION_REQUIRED = new FailureReason("ADDITIONAL_VERIFICATION_REQUIRED"); /// /// Constant CAA_ERROR for FailureReason /// public static readonly FailureReason CAA_ERROR = new FailureReason("CAA_ERROR"); /// /// Constant DOMAIN_NOT_ALLOWED for FailureReason /// public static readonly FailureReason DOMAIN_NOT_ALLOWED = new FailureReason("DOMAIN_NOT_ALLOWED"); /// /// Constant DOMAIN_VALIDATION_DENIED for FailureReason /// public static readonly FailureReason DOMAIN_VALIDATION_DENIED = new FailureReason("DOMAIN_VALIDATION_DENIED"); /// /// Constant INVALID_PUBLIC_DOMAIN for FailureReason /// public static readonly FailureReason INVALID_PUBLIC_DOMAIN = new FailureReason("INVALID_PUBLIC_DOMAIN"); /// /// Constant NO_AVAILABLE_CONTACTS for FailureReason /// public static readonly FailureReason NO_AVAILABLE_CONTACTS = new FailureReason("NO_AVAILABLE_CONTACTS"); /// /// Constant OTHER for FailureReason /// public static readonly FailureReason OTHER = new FailureReason("OTHER"); /// /// Constant PCA_ACCESS_DENIED for FailureReason /// public static readonly FailureReason PCA_ACCESS_DENIED = new FailureReason("PCA_ACCESS_DENIED"); /// /// Constant PCA_INVALID_ARGS for FailureReason /// public static readonly FailureReason PCA_INVALID_ARGS = new FailureReason("PCA_INVALID_ARGS"); /// /// Constant PCA_INVALID_ARN for FailureReason /// public static readonly FailureReason PCA_INVALID_ARN = new FailureReason("PCA_INVALID_ARN"); /// /// Constant PCA_INVALID_DURATION for FailureReason /// public static readonly FailureReason PCA_INVALID_DURATION = new FailureReason("PCA_INVALID_DURATION"); /// /// Constant PCA_INVALID_STATE for FailureReason /// public static readonly FailureReason PCA_INVALID_STATE = new FailureReason("PCA_INVALID_STATE"); /// /// Constant PCA_LIMIT_EXCEEDED for FailureReason /// public static readonly FailureReason PCA_LIMIT_EXCEEDED = new FailureReason("PCA_LIMIT_EXCEEDED"); /// /// Constant PCA_NAME_CONSTRAINTS_VALIDATION for FailureReason /// public static readonly FailureReason PCA_NAME_CONSTRAINTS_VALIDATION = new FailureReason("PCA_NAME_CONSTRAINTS_VALIDATION"); /// /// Constant PCA_REQUEST_FAILED for FailureReason /// public static readonly FailureReason PCA_REQUEST_FAILED = new FailureReason("PCA_REQUEST_FAILED"); /// /// Constant PCA_RESOURCE_NOT_FOUND for FailureReason /// public static readonly FailureReason PCA_RESOURCE_NOT_FOUND = new FailureReason("PCA_RESOURCE_NOT_FOUND"); /// /// Constant SLR_NOT_FOUND for FailureReason /// public static readonly FailureReason SLR_NOT_FOUND = new FailureReason("SLR_NOT_FOUND"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FailureReason(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FailureReason FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FailureReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type KeyAlgorithm. /// public class KeyAlgorithm : ConstantClass { /// /// Constant EC_prime256v1 for KeyAlgorithm /// public static readonly KeyAlgorithm EC_prime256v1 = new KeyAlgorithm("EC_prime256v1"); /// /// Constant EC_secp384r1 for KeyAlgorithm /// public static readonly KeyAlgorithm EC_secp384r1 = new KeyAlgorithm("EC_secp384r1"); /// /// Constant EC_secp521r1 for KeyAlgorithm /// public static readonly KeyAlgorithm EC_secp521r1 = new KeyAlgorithm("EC_secp521r1"); /// /// Constant RSA_1024 for KeyAlgorithm /// public static readonly KeyAlgorithm RSA_1024 = new KeyAlgorithm("RSA_1024"); /// /// Constant RSA_2048 for KeyAlgorithm /// public static readonly KeyAlgorithm RSA_2048 = new KeyAlgorithm("RSA_2048"); /// /// Constant RSA_3072 for KeyAlgorithm /// public static readonly KeyAlgorithm RSA_3072 = new KeyAlgorithm("RSA_3072"); /// /// Constant RSA_4096 for KeyAlgorithm /// public static readonly KeyAlgorithm RSA_4096 = new KeyAlgorithm("RSA_4096"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public KeyAlgorithm(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static KeyAlgorithm FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator KeyAlgorithm(string value) { return FindValue(value); } } /// /// Constants used for properties of type KeyUsageName. /// public class KeyUsageName : ConstantClass { /// /// Constant ANY for KeyUsageName /// public static readonly KeyUsageName ANY = new KeyUsageName("ANY"); /// /// Constant CERTIFICATE_SIGNING for KeyUsageName /// public static readonly KeyUsageName CERTIFICATE_SIGNING = new KeyUsageName("CERTIFICATE_SIGNING"); /// /// Constant CRL_SIGNING for KeyUsageName /// public static readonly KeyUsageName CRL_SIGNING = new KeyUsageName("CRL_SIGNING"); /// /// Constant CUSTOM for KeyUsageName /// public static readonly KeyUsageName CUSTOM = new KeyUsageName("CUSTOM"); /// /// Constant DATA_ENCIPHERMENT for KeyUsageName /// public static readonly KeyUsageName DATA_ENCIPHERMENT = new KeyUsageName("DATA_ENCIPHERMENT"); /// /// Constant DECIPHER_ONLY for KeyUsageName /// public static readonly KeyUsageName DECIPHER_ONLY = new KeyUsageName("DECIPHER_ONLY"); /// /// Constant DIGITAL_SIGNATURE for KeyUsageName /// public static readonly KeyUsageName DIGITAL_SIGNATURE = new KeyUsageName("DIGITAL_SIGNATURE"); /// /// Constant ENCIPHER_ONLY for KeyUsageName /// public static readonly KeyUsageName ENCIPHER_ONLY = new KeyUsageName("ENCIPHER_ONLY"); /// /// Constant KEY_AGREEMENT for KeyUsageName /// public static readonly KeyUsageName KEY_AGREEMENT = new KeyUsageName("KEY_AGREEMENT"); /// /// Constant KEY_ENCIPHERMENT for KeyUsageName /// public static readonly KeyUsageName KEY_ENCIPHERMENT = new KeyUsageName("KEY_ENCIPHERMENT"); /// /// Constant NON_REPUDIATION for KeyUsageName /// public static readonly KeyUsageName NON_REPUDIATION = new KeyUsageName("NON_REPUDIATION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public KeyUsageName(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static KeyUsageName FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator KeyUsageName(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecordType. /// public class RecordType : ConstantClass { /// /// Constant CNAME for RecordType /// public static readonly RecordType CNAME = new RecordType("CNAME"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RecordType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RecordType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RecordType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RenewalEligibility. /// public class RenewalEligibility : ConstantClass { /// /// Constant ELIGIBLE for RenewalEligibility /// public static readonly RenewalEligibility ELIGIBLE = new RenewalEligibility("ELIGIBLE"); /// /// Constant INELIGIBLE for RenewalEligibility /// public static readonly RenewalEligibility INELIGIBLE = new RenewalEligibility("INELIGIBLE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RenewalEligibility(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RenewalEligibility FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RenewalEligibility(string value) { return FindValue(value); } } /// /// Constants used for properties of type RenewalStatus. /// public class RenewalStatus : ConstantClass { /// /// Constant FAILED for RenewalStatus /// public static readonly RenewalStatus FAILED = new RenewalStatus("FAILED"); /// /// Constant PENDING_AUTO_RENEWAL for RenewalStatus /// public static readonly RenewalStatus PENDING_AUTO_RENEWAL = new RenewalStatus("PENDING_AUTO_RENEWAL"); /// /// Constant PENDING_VALIDATION for RenewalStatus /// public static readonly RenewalStatus PENDING_VALIDATION = new RenewalStatus("PENDING_VALIDATION"); /// /// Constant SUCCESS for RenewalStatus /// public static readonly RenewalStatus SUCCESS = new RenewalStatus("SUCCESS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RenewalStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RenewalStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RenewalStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RevocationReason. /// public class RevocationReason : ConstantClass { /// /// Constant A_A_COMPROMISE for RevocationReason /// public static readonly RevocationReason A_A_COMPROMISE = new RevocationReason("A_A_COMPROMISE"); /// /// Constant AFFILIATION_CHANGED for RevocationReason /// public static readonly RevocationReason AFFILIATION_CHANGED = new RevocationReason("AFFILIATION_CHANGED"); /// /// Constant CA_COMPROMISE for RevocationReason /// public static readonly RevocationReason CA_COMPROMISE = new RevocationReason("CA_COMPROMISE"); /// /// Constant CERTIFICATE_HOLD for RevocationReason /// public static readonly RevocationReason CERTIFICATE_HOLD = new RevocationReason("CERTIFICATE_HOLD"); /// /// Constant CESSATION_OF_OPERATION for RevocationReason /// public static readonly RevocationReason CESSATION_OF_OPERATION = new RevocationReason("CESSATION_OF_OPERATION"); /// /// Constant KEY_COMPROMISE for RevocationReason /// public static readonly RevocationReason KEY_COMPROMISE = new RevocationReason("KEY_COMPROMISE"); /// /// Constant PRIVILEGE_WITHDRAWN for RevocationReason /// public static readonly RevocationReason PRIVILEGE_WITHDRAWN = new RevocationReason("PRIVILEGE_WITHDRAWN"); /// /// Constant REMOVE_FROM_CRL for RevocationReason /// public static readonly RevocationReason REMOVE_FROM_CRL = new RevocationReason("REMOVE_FROM_CRL"); /// /// Constant SUPERCEDED for RevocationReason /// public static readonly RevocationReason SUPERCEDED = new RevocationReason("SUPERCEDED"); /// /// Constant UNSPECIFIED for RevocationReason /// public static readonly RevocationReason UNSPECIFIED = new RevocationReason("UNSPECIFIED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RevocationReason(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RevocationReason FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RevocationReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortBy. /// public class SortBy : ConstantClass { /// /// Constant CREATED_AT for SortBy /// public static readonly SortBy CREATED_AT = new SortBy("CREATED_AT"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SortBy(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SortBy FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SortBy(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortOrder. /// public class SortOrder : ConstantClass { /// /// Constant ASCENDING for SortOrder /// public static readonly SortOrder ASCENDING = new SortOrder("ASCENDING"); /// /// Constant DESCENDING for SortOrder /// public static readonly SortOrder DESCENDING = new SortOrder("DESCENDING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SortOrder(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SortOrder FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SortOrder(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationMethod. /// public class ValidationMethod : ConstantClass { /// /// Constant DNS for ValidationMethod /// public static readonly ValidationMethod DNS = new ValidationMethod("DNS"); /// /// Constant EMAIL for ValidationMethod /// public static readonly ValidationMethod EMAIL = new ValidationMethod("EMAIL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ValidationMethod(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ValidationMethod FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ValidationMethod(string value) { return FindValue(value); } } }