/*
* 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-pca-2017-08-22.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ACMPCA
{
///
/// Constants used for properties of type AccessMethodType.
///
public class AccessMethodType : ConstantClass
{
///
/// Constant CA_REPOSITORY for AccessMethodType
///
public static readonly AccessMethodType CA_REPOSITORY = new AccessMethodType("CA_REPOSITORY");
///
/// Constant RESOURCE_PKI_MANIFEST for AccessMethodType
///
public static readonly AccessMethodType RESOURCE_PKI_MANIFEST = new AccessMethodType("RESOURCE_PKI_MANIFEST");
///
/// Constant RESOURCE_PKI_NOTIFY for AccessMethodType
///
public static readonly AccessMethodType RESOURCE_PKI_NOTIFY = new AccessMethodType("RESOURCE_PKI_NOTIFY");
///
/// 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 AccessMethodType(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 AccessMethodType 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 AccessMethodType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ActionType.
///
public class ActionType : ConstantClass
{
///
/// Constant GetCertificate for ActionType
///
public static readonly ActionType GetCertificate = new ActionType("GetCertificate");
///
/// Constant IssueCertificate for ActionType
///
public static readonly ActionType IssueCertificate = new ActionType("IssueCertificate");
///
/// Constant ListPermissions for ActionType
///
public static readonly ActionType ListPermissions = new ActionType("ListPermissions");
///
/// 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 ActionType(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 ActionType 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 ActionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuditReportResponseFormat.
///
public class AuditReportResponseFormat : ConstantClass
{
///
/// Constant CSV for AuditReportResponseFormat
///
public static readonly AuditReportResponseFormat CSV = new AuditReportResponseFormat("CSV");
///
/// Constant JSON for AuditReportResponseFormat
///
public static readonly AuditReportResponseFormat JSON = new AuditReportResponseFormat("JSON");
///
/// 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 AuditReportResponseFormat(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 AuditReportResponseFormat 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 AuditReportResponseFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuditReportStatus.
///
public class AuditReportStatus : ConstantClass
{
///
/// Constant CREATING for AuditReportStatus
///
public static readonly AuditReportStatus CREATING = new AuditReportStatus("CREATING");
///
/// Constant FAILED for AuditReportStatus
///
public static readonly AuditReportStatus FAILED = new AuditReportStatus("FAILED");
///
/// Constant SUCCESS for AuditReportStatus
///
public static readonly AuditReportStatus SUCCESS = new AuditReportStatus("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 AuditReportStatus(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 AuditReportStatus 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 AuditReportStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CertificateAuthorityStatus.
///
public class CertificateAuthorityStatus : ConstantClass
{
///
/// Constant ACTIVE for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus ACTIVE = new CertificateAuthorityStatus("ACTIVE");
///
/// Constant CREATING for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus CREATING = new CertificateAuthorityStatus("CREATING");
///
/// Constant DELETED for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus DELETED = new CertificateAuthorityStatus("DELETED");
///
/// Constant DISABLED for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus DISABLED = new CertificateAuthorityStatus("DISABLED");
///
/// Constant EXPIRED for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus EXPIRED = new CertificateAuthorityStatus("EXPIRED");
///
/// Constant FAILED for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus FAILED = new CertificateAuthorityStatus("FAILED");
///
/// Constant PENDING_CERTIFICATE for CertificateAuthorityStatus
///
public static readonly CertificateAuthorityStatus PENDING_CERTIFICATE = new CertificateAuthorityStatus("PENDING_CERTIFICATE");
///
/// 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 CertificateAuthorityStatus(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 CertificateAuthorityStatus 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 CertificateAuthorityStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CertificateAuthorityType.
///
public class CertificateAuthorityType : ConstantClass
{
///
/// Constant ROOT for CertificateAuthorityType
///
public static readonly CertificateAuthorityType ROOT = new CertificateAuthorityType("ROOT");
///
/// Constant SUBORDINATE for CertificateAuthorityType
///
public static readonly CertificateAuthorityType SUBORDINATE = new CertificateAuthorityType("SUBORDINATE");
///
/// 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 CertificateAuthorityType(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 CertificateAuthorityType 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 CertificateAuthorityType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CertificateAuthorityUsageMode.
///
public class CertificateAuthorityUsageMode : ConstantClass
{
///
/// Constant GENERAL_PURPOSE for CertificateAuthorityUsageMode
///
public static readonly CertificateAuthorityUsageMode GENERAL_PURPOSE = new CertificateAuthorityUsageMode("GENERAL_PURPOSE");
///
/// Constant SHORT_LIVED_CERTIFICATE for CertificateAuthorityUsageMode
///
public static readonly CertificateAuthorityUsageMode SHORT_LIVED_CERTIFICATE = new CertificateAuthorityUsageMode("SHORT_LIVED_CERTIFICATE");
///
/// 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 CertificateAuthorityUsageMode(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 CertificateAuthorityUsageMode 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 CertificateAuthorityUsageMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ExtendedKeyUsageType.
///
public class ExtendedKeyUsageType : ConstantClass
{
///
/// Constant CERTIFICATE_TRANSPARENCY for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType CERTIFICATE_TRANSPARENCY = new ExtendedKeyUsageType("CERTIFICATE_TRANSPARENCY");
///
/// Constant CLIENT_AUTH for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType CLIENT_AUTH = new ExtendedKeyUsageType("CLIENT_AUTH");
///
/// Constant CODE_SIGNING for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType CODE_SIGNING = new ExtendedKeyUsageType("CODE_SIGNING");
///
/// Constant DOCUMENT_SIGNING for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType DOCUMENT_SIGNING = new ExtendedKeyUsageType("DOCUMENT_SIGNING");
///
/// Constant EMAIL_PROTECTION for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType EMAIL_PROTECTION = new ExtendedKeyUsageType("EMAIL_PROTECTION");
///
/// Constant OCSP_SIGNING for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType OCSP_SIGNING = new ExtendedKeyUsageType("OCSP_SIGNING");
///
/// Constant SERVER_AUTH for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType SERVER_AUTH = new ExtendedKeyUsageType("SERVER_AUTH");
///
/// Constant SMART_CARD_LOGIN for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType SMART_CARD_LOGIN = new ExtendedKeyUsageType("SMART_CARD_LOGIN");
///
/// Constant TIME_STAMPING for ExtendedKeyUsageType
///
public static readonly ExtendedKeyUsageType TIME_STAMPING = new ExtendedKeyUsageType("TIME_STAMPING");
///
/// 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 ExtendedKeyUsageType(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 ExtendedKeyUsageType 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 ExtendedKeyUsageType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FailureReason.
///
public class FailureReason : ConstantClass
{
///
/// Constant OTHER for FailureReason
///
public static readonly FailureReason OTHER = new FailureReason("OTHER");
///
/// Constant REQUEST_TIMED_OUT for FailureReason
///
public static readonly FailureReason REQUEST_TIMED_OUT = new FailureReason("REQUEST_TIMED_OUT");
///
/// Constant UNSUPPORTED_ALGORITHM for FailureReason
///
public static readonly FailureReason UNSUPPORTED_ALGORITHM = new FailureReason("UNSUPPORTED_ALGORITHM");
///
/// 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 RSA_2048 for KeyAlgorithm
///
public static readonly KeyAlgorithm RSA_2048 = new KeyAlgorithm("RSA_2048");
///
/// 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 KeyStorageSecurityStandard.
///
public class KeyStorageSecurityStandard : ConstantClass
{
///
/// Constant FIPS_140_2_LEVEL_2_OR_HIGHER for KeyStorageSecurityStandard
///
public static readonly KeyStorageSecurityStandard FIPS_140_2_LEVEL_2_OR_HIGHER = new KeyStorageSecurityStandard("FIPS_140_2_LEVEL_2_OR_HIGHER");
///
/// Constant FIPS_140_2_LEVEL_3_OR_HIGHER for KeyStorageSecurityStandard
///
public static readonly KeyStorageSecurityStandard FIPS_140_2_LEVEL_3_OR_HIGHER = new KeyStorageSecurityStandard("FIPS_140_2_LEVEL_3_OR_HIGHER");
///
/// 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 KeyStorageSecurityStandard(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 KeyStorageSecurityStandard 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 KeyStorageSecurityStandard(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PolicyQualifierId.
///
public class PolicyQualifierId : ConstantClass
{
///
/// Constant CPS for PolicyQualifierId
///
public static readonly PolicyQualifierId CPS = new PolicyQualifierId("CPS");
///
/// 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 PolicyQualifierId(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 PolicyQualifierId 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 PolicyQualifierId(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceOwner.
///
public class ResourceOwner : ConstantClass
{
///
/// Constant OTHER_ACCOUNTS for ResourceOwner
///
public static readonly ResourceOwner OTHER_ACCOUNTS = new ResourceOwner("OTHER_ACCOUNTS");
///
/// Constant SELF for ResourceOwner
///
public static readonly ResourceOwner SELF = new ResourceOwner("SELF");
///
/// 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 ResourceOwner(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 ResourceOwner 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 ResourceOwner(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 CERTIFICATE_AUTHORITY_COMPROMISE for RevocationReason
///
public static readonly RevocationReason CERTIFICATE_AUTHORITY_COMPROMISE = new RevocationReason("CERTIFICATE_AUTHORITY_COMPROMISE");
///
/// 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 SUPERSEDED for RevocationReason
///
public static readonly RevocationReason SUPERSEDED = new RevocationReason("SUPERSEDED");
///
/// 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 S3ObjectAcl.
///
public class S3ObjectAcl : ConstantClass
{
///
/// Constant BUCKET_OWNER_FULL_CONTROL for S3ObjectAcl
///
public static readonly S3ObjectAcl BUCKET_OWNER_FULL_CONTROL = new S3ObjectAcl("BUCKET_OWNER_FULL_CONTROL");
///
/// Constant PUBLIC_READ for S3ObjectAcl
///
public static readonly S3ObjectAcl PUBLIC_READ = new S3ObjectAcl("PUBLIC_READ");
///
/// 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 S3ObjectAcl(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 S3ObjectAcl 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 S3ObjectAcl(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SigningAlgorithm.
///
public class SigningAlgorithm : ConstantClass
{
///
/// Constant SHA256WITHECDSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA256WITHECDSA = new SigningAlgorithm("SHA256WITHECDSA");
///
/// Constant SHA256WITHRSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA256WITHRSA = new SigningAlgorithm("SHA256WITHRSA");
///
/// Constant SHA384WITHECDSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA384WITHECDSA = new SigningAlgorithm("SHA384WITHECDSA");
///
/// Constant SHA384WITHRSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA384WITHRSA = new SigningAlgorithm("SHA384WITHRSA");
///
/// Constant SHA512WITHECDSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA512WITHECDSA = new SigningAlgorithm("SHA512WITHECDSA");
///
/// Constant SHA512WITHRSA for SigningAlgorithm
///
public static readonly SigningAlgorithm SHA512WITHRSA = new SigningAlgorithm("SHA512WITHRSA");
///
/// 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 SigningAlgorithm(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 SigningAlgorithm 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 SigningAlgorithm(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidityPeriodType.
///
public class ValidityPeriodType : ConstantClass
{
///
/// Constant ABSOLUTE for ValidityPeriodType
///
public static readonly ValidityPeriodType ABSOLUTE = new ValidityPeriodType("ABSOLUTE");
///
/// Constant DAYS for ValidityPeriodType
///
public static readonly ValidityPeriodType DAYS = new ValidityPeriodType("DAYS");
///
/// Constant END_DATE for ValidityPeriodType
///
public static readonly ValidityPeriodType END_DATE = new ValidityPeriodType("END_DATE");
///
/// Constant MONTHS for ValidityPeriodType
///
public static readonly ValidityPeriodType MONTHS = new ValidityPeriodType("MONTHS");
///
/// Constant YEARS for ValidityPeriodType
///
public static readonly ValidityPeriodType YEARS = new ValidityPeriodType("YEARS");
///
/// 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 ValidityPeriodType(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 ValidityPeriodType 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 ValidityPeriodType(string value)
{
return FindValue(value);
}
}
}