/* * 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 ds-2015-04-16.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.DirectoryService { /// /// Constants used for properties of type CertificateState. /// public class CertificateState : ConstantClass { /// /// Constant Deregistered for CertificateState /// public static readonly CertificateState Deregistered = new CertificateState("Deregistered"); /// /// Constant DeregisterFailed for CertificateState /// public static readonly CertificateState DeregisterFailed = new CertificateState("DeregisterFailed"); /// /// Constant Deregistering for CertificateState /// public static readonly CertificateState Deregistering = new CertificateState("Deregistering"); /// /// Constant Registered for CertificateState /// public static readonly CertificateState Registered = new CertificateState("Registered"); /// /// Constant RegisterFailed for CertificateState /// public static readonly CertificateState RegisterFailed = new CertificateState("RegisterFailed"); /// /// Constant Registering for CertificateState /// public static readonly CertificateState Registering = new CertificateState("Registering"); /// /// 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 CertificateState(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 CertificateState 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 CertificateState(string value) { return FindValue(value); } } /// /// Constants used for properties of type CertificateType. /// public class CertificateType : ConstantClass { /// /// Constant ClientCertAuth for CertificateType /// public static readonly CertificateType ClientCertAuth = new CertificateType("ClientCertAuth"); /// /// Constant ClientLDAPS for CertificateType /// public static readonly CertificateType ClientLDAPS = new CertificateType("ClientLDAPS"); /// /// 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 ClientAuthenticationStatus. /// public class ClientAuthenticationStatus : ConstantClass { /// /// Constant Disabled for ClientAuthenticationStatus /// public static readonly ClientAuthenticationStatus Disabled = new ClientAuthenticationStatus("Disabled"); /// /// Constant Enabled for ClientAuthenticationStatus /// public static readonly ClientAuthenticationStatus Enabled = new ClientAuthenticationStatus("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 ClientAuthenticationStatus(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 ClientAuthenticationStatus 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 ClientAuthenticationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ClientAuthenticationType. /// public class ClientAuthenticationType : ConstantClass { /// /// Constant SmartCard for ClientAuthenticationType /// public static readonly ClientAuthenticationType SmartCard = new ClientAuthenticationType("SmartCard"); /// /// Constant SmartCardOrPassword for ClientAuthenticationType /// public static readonly ClientAuthenticationType SmartCardOrPassword = new ClientAuthenticationType("SmartCardOrPassword"); /// /// 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 ClientAuthenticationType(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 ClientAuthenticationType 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 ClientAuthenticationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectoryConfigurationStatus. /// public class DirectoryConfigurationStatus : ConstantClass { /// /// Constant Default for DirectoryConfigurationStatus /// public static readonly DirectoryConfigurationStatus Default = new DirectoryConfigurationStatus("Default"); /// /// Constant Failed for DirectoryConfigurationStatus /// public static readonly DirectoryConfigurationStatus Failed = new DirectoryConfigurationStatus("Failed"); /// /// Constant Requested for DirectoryConfigurationStatus /// public static readonly DirectoryConfigurationStatus Requested = new DirectoryConfigurationStatus("Requested"); /// /// Constant Updated for DirectoryConfigurationStatus /// public static readonly DirectoryConfigurationStatus Updated = new DirectoryConfigurationStatus("Updated"); /// /// Constant Updating for DirectoryConfigurationStatus /// public static readonly DirectoryConfigurationStatus Updating = new DirectoryConfigurationStatus("Updating"); /// /// 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 DirectoryConfigurationStatus(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 DirectoryConfigurationStatus 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 DirectoryConfigurationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectoryEdition. /// public class DirectoryEdition : ConstantClass { /// /// Constant Enterprise for DirectoryEdition /// public static readonly DirectoryEdition Enterprise = new DirectoryEdition("Enterprise"); /// /// Constant Standard for DirectoryEdition /// public static readonly DirectoryEdition Standard = new DirectoryEdition("Standard"); /// /// 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 DirectoryEdition(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 DirectoryEdition 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 DirectoryEdition(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectorySize. /// public class DirectorySize : ConstantClass { /// /// Constant Large for DirectorySize /// public static readonly DirectorySize Large = new DirectorySize("Large"); /// /// Constant Small for DirectorySize /// public static readonly DirectorySize Small = new DirectorySize("Small"); /// /// 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 DirectorySize(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 DirectorySize 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 DirectorySize(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectoryStage. /// public class DirectoryStage : ConstantClass { /// /// Constant Active for DirectoryStage /// public static readonly DirectoryStage Active = new DirectoryStage("Active"); /// /// Constant Created for DirectoryStage /// public static readonly DirectoryStage Created = new DirectoryStage("Created"); /// /// Constant Creating for DirectoryStage /// public static readonly DirectoryStage Creating = new DirectoryStage("Creating"); /// /// Constant Deleted for DirectoryStage /// public static readonly DirectoryStage Deleted = new DirectoryStage("Deleted"); /// /// Constant Deleting for DirectoryStage /// public static readonly DirectoryStage Deleting = new DirectoryStage("Deleting"); /// /// Constant Failed for DirectoryStage /// public static readonly DirectoryStage Failed = new DirectoryStage("Failed"); /// /// Constant Impaired for DirectoryStage /// public static readonly DirectoryStage Impaired = new DirectoryStage("Impaired"); /// /// Constant Inoperable for DirectoryStage /// public static readonly DirectoryStage Inoperable = new DirectoryStage("Inoperable"); /// /// Constant Requested for DirectoryStage /// public static readonly DirectoryStage Requested = new DirectoryStage("Requested"); /// /// Constant RestoreFailed for DirectoryStage /// public static readonly DirectoryStage RestoreFailed = new DirectoryStage("RestoreFailed"); /// /// Constant Restoring for DirectoryStage /// public static readonly DirectoryStage Restoring = new DirectoryStage("Restoring"); /// /// 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 DirectoryStage(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 DirectoryStage 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 DirectoryStage(string value) { return FindValue(value); } } /// /// Constants used for properties of type DirectoryType. /// public class DirectoryType : ConstantClass { /// /// Constant ADConnector for DirectoryType /// public static readonly DirectoryType ADConnector = new DirectoryType("ADConnector"); /// /// Constant MicrosoftAD for DirectoryType /// public static readonly DirectoryType MicrosoftAD = new DirectoryType("MicrosoftAD"); /// /// Constant SharedMicrosoftAD for DirectoryType /// public static readonly DirectoryType SharedMicrosoftAD = new DirectoryType("SharedMicrosoftAD"); /// /// Constant SimpleAD for DirectoryType /// public static readonly DirectoryType SimpleAD = new DirectoryType("SimpleAD"); /// /// 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 DirectoryType(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 DirectoryType 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 DirectoryType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DomainControllerStatus. /// public class DomainControllerStatus : ConstantClass { /// /// Constant Active for DomainControllerStatus /// public static readonly DomainControllerStatus Active = new DomainControllerStatus("Active"); /// /// Constant Creating for DomainControllerStatus /// public static readonly DomainControllerStatus Creating = new DomainControllerStatus("Creating"); /// /// Constant Deleted for DomainControllerStatus /// public static readonly DomainControllerStatus Deleted = new DomainControllerStatus("Deleted"); /// /// Constant Deleting for DomainControllerStatus /// public static readonly DomainControllerStatus Deleting = new DomainControllerStatus("Deleting"); /// /// Constant Failed for DomainControllerStatus /// public static readonly DomainControllerStatus Failed = new DomainControllerStatus("Failed"); /// /// Constant Impaired for DomainControllerStatus /// public static readonly DomainControllerStatus Impaired = new DomainControllerStatus("Impaired"); /// /// Constant Restoring for DomainControllerStatus /// public static readonly DomainControllerStatus Restoring = new DomainControllerStatus("Restoring"); /// /// 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 DomainControllerStatus(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 DomainControllerStatus 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 DomainControllerStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type IpRouteStatusMsg. /// public class IpRouteStatusMsg : ConstantClass { /// /// Constant Added for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg Added = new IpRouteStatusMsg("Added"); /// /// Constant AddFailed for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg AddFailed = new IpRouteStatusMsg("AddFailed"); /// /// Constant Adding for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg Adding = new IpRouteStatusMsg("Adding"); /// /// Constant Removed for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg Removed = new IpRouteStatusMsg("Removed"); /// /// Constant RemoveFailed for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg RemoveFailed = new IpRouteStatusMsg("RemoveFailed"); /// /// Constant Removing for IpRouteStatusMsg /// public static readonly IpRouteStatusMsg Removing = new IpRouteStatusMsg("Removing"); /// /// 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 IpRouteStatusMsg(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 IpRouteStatusMsg 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 IpRouteStatusMsg(string value) { return FindValue(value); } } /// /// Constants used for properties of type LDAPSStatus. /// public class LDAPSStatus : ConstantClass { /// /// Constant Disabled for LDAPSStatus /// public static readonly LDAPSStatus Disabled = new LDAPSStatus("Disabled"); /// /// Constant Enabled for LDAPSStatus /// public static readonly LDAPSStatus Enabled = new LDAPSStatus("Enabled"); /// /// Constant EnableFailed for LDAPSStatus /// public static readonly LDAPSStatus EnableFailed = new LDAPSStatus("EnableFailed"); /// /// Constant Enabling for LDAPSStatus /// public static readonly LDAPSStatus Enabling = new LDAPSStatus("Enabling"); /// /// 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 LDAPSStatus(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 LDAPSStatus 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 LDAPSStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type LDAPSType. /// public class LDAPSType : ConstantClass { /// /// Constant Client for LDAPSType /// public static readonly LDAPSType Client = new LDAPSType("Client"); /// /// 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 LDAPSType(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 LDAPSType 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 LDAPSType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OSVersion. /// public class OSVersion : ConstantClass { /// /// Constant SERVER_2012 for OSVersion /// public static readonly OSVersion SERVER_2012 = new OSVersion("SERVER_2012"); /// /// Constant SERVER_2019 for OSVersion /// public static readonly OSVersion SERVER_2019 = new OSVersion("SERVER_2019"); /// /// 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 OSVersion(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 OSVersion 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 OSVersion(string value) { return FindValue(value); } } /// /// Constants used for properties of type RadiusAuthenticationProtocol. /// public class RadiusAuthenticationProtocol : ConstantClass { /// /// Constant CHAP for RadiusAuthenticationProtocol /// public static readonly RadiusAuthenticationProtocol CHAP = new RadiusAuthenticationProtocol("CHAP"); /// /// Constant MSCHAPv1 for RadiusAuthenticationProtocol /// public static readonly RadiusAuthenticationProtocol MSCHAPv1 = new RadiusAuthenticationProtocol("MS-CHAPv1"); /// /// Constant MSCHAPv2 for RadiusAuthenticationProtocol /// public static readonly RadiusAuthenticationProtocol MSCHAPv2 = new RadiusAuthenticationProtocol("MS-CHAPv2"); /// /// Constant PAP for RadiusAuthenticationProtocol /// public static readonly RadiusAuthenticationProtocol PAP = new RadiusAuthenticationProtocol("PAP"); /// /// 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 RadiusAuthenticationProtocol(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 RadiusAuthenticationProtocol 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 RadiusAuthenticationProtocol(string value) { return FindValue(value); } } /// /// Constants used for properties of type RadiusStatus. /// public class RadiusStatus : ConstantClass { /// /// Constant Completed for RadiusStatus /// public static readonly RadiusStatus Completed = new RadiusStatus("Completed"); /// /// Constant Creating for RadiusStatus /// public static readonly RadiusStatus Creating = new RadiusStatus("Creating"); /// /// Constant Failed for RadiusStatus /// public static readonly RadiusStatus Failed = new RadiusStatus("Failed"); /// /// 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 RadiusStatus(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 RadiusStatus 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 RadiusStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RegionType. /// public class RegionType : ConstantClass { /// /// Constant Additional for RegionType /// public static readonly RegionType Additional = new RegionType("Additional"); /// /// Constant Primary for RegionType /// public static readonly RegionType Primary = new RegionType("Primary"); /// /// 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 RegionType(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 RegionType 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 RegionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReplicationScope. /// public class ReplicationScope : ConstantClass { /// /// Constant Domain for ReplicationScope /// public static readonly ReplicationScope Domain = new ReplicationScope("Domain"); /// /// 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 ReplicationScope(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 ReplicationScope 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 ReplicationScope(string value) { return FindValue(value); } } /// /// Constants used for properties of type SchemaExtensionStatus. /// public class SchemaExtensionStatus : ConstantClass { /// /// Constant CancelInProgress for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus CancelInProgress = new SchemaExtensionStatus("CancelInProgress"); /// /// Constant Cancelled for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus Cancelled = new SchemaExtensionStatus("Cancelled"); /// /// Constant Completed for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus Completed = new SchemaExtensionStatus("Completed"); /// /// Constant CreatingSnapshot for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus CreatingSnapshot = new SchemaExtensionStatus("CreatingSnapshot"); /// /// Constant Failed for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus Failed = new SchemaExtensionStatus("Failed"); /// /// Constant Initializing for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus Initializing = new SchemaExtensionStatus("Initializing"); /// /// Constant Replicating for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus Replicating = new SchemaExtensionStatus("Replicating"); /// /// Constant RollbackInProgress for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus RollbackInProgress = new SchemaExtensionStatus("RollbackInProgress"); /// /// Constant UpdatingSchema for SchemaExtensionStatus /// public static readonly SchemaExtensionStatus UpdatingSchema = new SchemaExtensionStatus("UpdatingSchema"); /// /// 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 SchemaExtensionStatus(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 SchemaExtensionStatus 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 SchemaExtensionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type SelectiveAuth. /// public class SelectiveAuth : ConstantClass { /// /// Constant Disabled for SelectiveAuth /// public static readonly SelectiveAuth Disabled = new SelectiveAuth("Disabled"); /// /// Constant Enabled for SelectiveAuth /// public static readonly SelectiveAuth Enabled = new SelectiveAuth("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 SelectiveAuth(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 SelectiveAuth 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 SelectiveAuth(string value) { return FindValue(value); } } /// /// Constants used for properties of type ShareMethod. /// public class ShareMethod : ConstantClass { /// /// Constant HANDSHAKE for ShareMethod /// public static readonly ShareMethod HANDSHAKE = new ShareMethod("HANDSHAKE"); /// /// Constant ORGANIZATIONS for ShareMethod /// public static readonly ShareMethod ORGANIZATIONS = new ShareMethod("ORGANIZATIONS"); /// /// 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 ShareMethod(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 ShareMethod 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 ShareMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type ShareStatus. /// public class ShareStatus : ConstantClass { /// /// Constant Deleted for ShareStatus /// public static readonly ShareStatus Deleted = new ShareStatus("Deleted"); /// /// Constant Deleting for ShareStatus /// public static readonly ShareStatus Deleting = new ShareStatus("Deleting"); /// /// Constant PendingAcceptance for ShareStatus /// public static readonly ShareStatus PendingAcceptance = new ShareStatus("PendingAcceptance"); /// /// Constant Rejected for ShareStatus /// public static readonly ShareStatus Rejected = new ShareStatus("Rejected"); /// /// Constant RejectFailed for ShareStatus /// public static readonly ShareStatus RejectFailed = new ShareStatus("RejectFailed"); /// /// Constant Rejecting for ShareStatus /// public static readonly ShareStatus Rejecting = new ShareStatus("Rejecting"); /// /// Constant Shared for ShareStatus /// public static readonly ShareStatus Shared = new ShareStatus("Shared"); /// /// Constant ShareFailed for ShareStatus /// public static readonly ShareStatus ShareFailed = new ShareStatus("ShareFailed"); /// /// Constant Sharing for ShareStatus /// public static readonly ShareStatus Sharing = new ShareStatus("Sharing"); /// /// 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 ShareStatus(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 ShareStatus 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 ShareStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type SnapshotStatus. /// public class SnapshotStatus : ConstantClass { /// /// Constant Completed for SnapshotStatus /// public static readonly SnapshotStatus Completed = new SnapshotStatus("Completed"); /// /// Constant Creating for SnapshotStatus /// public static readonly SnapshotStatus Creating = new SnapshotStatus("Creating"); /// /// Constant Failed for SnapshotStatus /// public static readonly SnapshotStatus Failed = new SnapshotStatus("Failed"); /// /// 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 SnapshotStatus(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 SnapshotStatus 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 SnapshotStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type SnapshotType. /// public class SnapshotType : ConstantClass { /// /// Constant Auto for SnapshotType /// public static readonly SnapshotType Auto = new SnapshotType("Auto"); /// /// Constant Manual for SnapshotType /// public static readonly SnapshotType Manual = new SnapshotType("Manual"); /// /// 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 SnapshotType(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 SnapshotType 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 SnapshotType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetType. /// public class TargetType : ConstantClass { /// /// Constant ACCOUNT for TargetType /// public static readonly TargetType ACCOUNT = new TargetType("ACCOUNT"); /// /// 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 TargetType(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 TargetType 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 TargetType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TopicStatus. /// public class TopicStatus : ConstantClass { /// /// Constant Deleted for TopicStatus /// public static readonly TopicStatus Deleted = new TopicStatus("Deleted"); /// /// Constant Failed for TopicStatus /// public static readonly TopicStatus Failed = new TopicStatus("Failed"); /// /// Constant Registered for TopicStatus /// public static readonly TopicStatus Registered = new TopicStatus("Registered"); /// /// Constant TopicNotFound for TopicStatus /// public static readonly TopicStatus TopicNotFound = new TopicStatus("Topic 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 TopicStatus(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 TopicStatus 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 TopicStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type TrustDirection. /// public class TrustDirection : ConstantClass { /// /// Constant OneWayIncoming for TrustDirection /// public static readonly TrustDirection OneWayIncoming = new TrustDirection("One-Way: Incoming"); /// /// Constant OneWayOutgoing for TrustDirection /// public static readonly TrustDirection OneWayOutgoing = new TrustDirection("One-Way: Outgoing"); /// /// Constant TwoWay for TrustDirection /// public static readonly TrustDirection TwoWay = new TrustDirection("Two-Way"); /// /// 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 TrustDirection(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 TrustDirection 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 TrustDirection(string value) { return FindValue(value); } } /// /// Constants used for properties of type TrustState. /// public class TrustState : ConstantClass { /// /// Constant Created for TrustState /// public static readonly TrustState Created = new TrustState("Created"); /// /// Constant Creating for TrustState /// public static readonly TrustState Creating = new TrustState("Creating"); /// /// Constant Deleted for TrustState /// public static readonly TrustState Deleted = new TrustState("Deleted"); /// /// Constant Deleting for TrustState /// public static readonly TrustState Deleting = new TrustState("Deleting"); /// /// Constant Failed for TrustState /// public static readonly TrustState Failed = new TrustState("Failed"); /// /// Constant Updated for TrustState /// public static readonly TrustState Updated = new TrustState("Updated"); /// /// Constant UpdateFailed for TrustState /// public static readonly TrustState UpdateFailed = new TrustState("UpdateFailed"); /// /// Constant Updating for TrustState /// public static readonly TrustState Updating = new TrustState("Updating"); /// /// Constant Verified for TrustState /// public static readonly TrustState Verified = new TrustState("Verified"); /// /// Constant VerifyFailed for TrustState /// public static readonly TrustState VerifyFailed = new TrustState("VerifyFailed"); /// /// Constant Verifying for TrustState /// public static readonly TrustState Verifying = new TrustState("Verifying"); /// /// 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 TrustState(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 TrustState 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 TrustState(string value) { return FindValue(value); } } /// /// Constants used for properties of type TrustType. /// public class TrustType : ConstantClass { /// /// Constant External for TrustType /// public static readonly TrustType External = new TrustType("External"); /// /// Constant Forest for TrustType /// public static readonly TrustType Forest = new TrustType("Forest"); /// /// 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 TrustType(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 TrustType 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 TrustType(string value) { return FindValue(value); } } /// /// Constants used for properties of type UpdateStatus. /// public class UpdateStatus : ConstantClass { /// /// Constant Updated for UpdateStatus /// public static readonly UpdateStatus Updated = new UpdateStatus("Updated"); /// /// Constant UpdateFailed for UpdateStatus /// public static readonly UpdateStatus UpdateFailed = new UpdateStatus("UpdateFailed"); /// /// Constant Updating for UpdateStatus /// public static readonly UpdateStatus Updating = new UpdateStatus("Updating"); /// /// 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 UpdateStatus(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 UpdateStatus 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 UpdateStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type UpdateType. /// public class UpdateType : ConstantClass { /// /// Constant OS for UpdateType /// public static readonly UpdateType OS = new UpdateType("OS"); /// /// 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 UpdateType(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 UpdateType 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 UpdateType(string value) { return FindValue(value); } } }