/* * 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 chime-sdk-voice-2022-08-03.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ChimeSDKVoice { /// /// Constants used for properties of type AlexaSkillStatus. /// public class AlexaSkillStatus : ConstantClass { /// /// Constant ACTIVE for AlexaSkillStatus /// public static readonly AlexaSkillStatus ACTIVE = new AlexaSkillStatus("ACTIVE"); /// /// Constant INACTIVE for AlexaSkillStatus /// public static readonly AlexaSkillStatus INACTIVE = new AlexaSkillStatus("INACTIVE"); /// /// 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 AlexaSkillStatus(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 AlexaSkillStatus 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 AlexaSkillStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CallingNameStatus. /// public class CallingNameStatus : ConstantClass { /// /// Constant Unassigned for CallingNameStatus /// public static readonly CallingNameStatus Unassigned = new CallingNameStatus("Unassigned"); /// /// Constant UpdateFailed for CallingNameStatus /// public static readonly CallingNameStatus UpdateFailed = new CallingNameStatus("UpdateFailed"); /// /// Constant UpdateInProgress for CallingNameStatus /// public static readonly CallingNameStatus UpdateInProgress = new CallingNameStatus("UpdateInProgress"); /// /// Constant UpdateSucceeded for CallingNameStatus /// public static readonly CallingNameStatus UpdateSucceeded = new CallingNameStatus("UpdateSucceeded"); /// /// 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 CallingNameStatus(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 CallingNameStatus 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 CallingNameStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CallLegType. /// public class CallLegType : ConstantClass { /// /// Constant Callee for CallLegType /// public static readonly CallLegType Callee = new CallLegType("Callee"); /// /// Constant Caller for CallLegType /// public static readonly CallLegType Caller = new CallLegType("Caller"); /// /// 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 CallLegType(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 CallLegType 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 CallLegType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Capability. /// public class Capability : ConstantClass { /// /// Constant SMS for Capability /// public static readonly Capability SMS = new Capability("SMS"); /// /// Constant Voice for Capability /// public static readonly Capability Voice = new Capability("Voice"); /// /// 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 Capability(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 Capability 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 Capability(string value) { return FindValue(value); } } /// /// Constants used for properties of type ErrorCode. /// public class ErrorCode : ConstantClass { /// /// Constant AccessDenied for ErrorCode /// public static readonly ErrorCode AccessDenied = new ErrorCode("AccessDenied"); /// /// Constant BadRequest for ErrorCode /// public static readonly ErrorCode BadRequest = new ErrorCode("BadRequest"); /// /// Constant Conflict for ErrorCode /// public static readonly ErrorCode Conflict = new ErrorCode("Conflict"); /// /// Constant Forbidden for ErrorCode /// public static readonly ErrorCode Forbidden = new ErrorCode("Forbidden"); /// /// Constant Gone for ErrorCode /// public static readonly ErrorCode Gone = new ErrorCode("Gone"); /// /// Constant NotFound for ErrorCode /// public static readonly ErrorCode NotFound = new ErrorCode("NotFound"); /// /// Constant PhoneNumberAssociationsExist for ErrorCode /// public static readonly ErrorCode PhoneNumberAssociationsExist = new ErrorCode("PhoneNumberAssociationsExist"); /// /// Constant PreconditionFailed for ErrorCode /// public static readonly ErrorCode PreconditionFailed = new ErrorCode("PreconditionFailed"); /// /// Constant ResourceLimitExceeded for ErrorCode /// public static readonly ErrorCode ResourceLimitExceeded = new ErrorCode("ResourceLimitExceeded"); /// /// Constant ServiceFailure for ErrorCode /// public static readonly ErrorCode ServiceFailure = new ErrorCode("ServiceFailure"); /// /// Constant ServiceUnavailable for ErrorCode /// public static readonly ErrorCode ServiceUnavailable = new ErrorCode("ServiceUnavailable"); /// /// Constant Throttled for ErrorCode /// public static readonly ErrorCode Throttled = new ErrorCode("Throttled"); /// /// Constant Throttling for ErrorCode /// public static readonly ErrorCode Throttling = new ErrorCode("Throttling"); /// /// Constant Unauthorized for ErrorCode /// public static readonly ErrorCode Unauthorized = new ErrorCode("Unauthorized"); /// /// Constant Unprocessable for ErrorCode /// public static readonly ErrorCode Unprocessable = new ErrorCode("Unprocessable"); /// /// Constant VoiceConnectorGroupAssociationsExist for ErrorCode /// public static readonly ErrorCode VoiceConnectorGroupAssociationsExist = new ErrorCode("VoiceConnectorGroupAssociationsExist"); /// /// 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 ErrorCode(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 ErrorCode 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 ErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type GeoMatchLevel. /// public class GeoMatchLevel : ConstantClass { /// /// Constant AreaCode for GeoMatchLevel /// public static readonly GeoMatchLevel AreaCode = new GeoMatchLevel("AreaCode"); /// /// Constant Country for GeoMatchLevel /// public static readonly GeoMatchLevel Country = new GeoMatchLevel("Country"); /// /// 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 GeoMatchLevel(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 GeoMatchLevel 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 GeoMatchLevel(string value) { return FindValue(value); } } /// /// Constants used for properties of type LanguageCode. /// public class LanguageCode : ConstantClass { /// /// Constant EnUS for LanguageCode /// public static readonly LanguageCode EnUS = new LanguageCode("en-US"); /// /// 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 LanguageCode(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 LanguageCode 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 LanguageCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotificationTarget. /// public class NotificationTarget : ConstantClass { /// /// Constant EventBridge for NotificationTarget /// public static readonly NotificationTarget EventBridge = new NotificationTarget("EventBridge"); /// /// Constant SNS for NotificationTarget /// public static readonly NotificationTarget SNS = new NotificationTarget("SNS"); /// /// Constant SQS for NotificationTarget /// public static readonly NotificationTarget SQS = new NotificationTarget("SQS"); /// /// 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 NotificationTarget(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 NotificationTarget 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 NotificationTarget(string value) { return FindValue(value); } } /// /// Constants used for properties of type NumberSelectionBehavior. /// public class NumberSelectionBehavior : ConstantClass { /// /// Constant AvoidSticky for NumberSelectionBehavior /// public static readonly NumberSelectionBehavior AvoidSticky = new NumberSelectionBehavior("AvoidSticky"); /// /// Constant PreferSticky for NumberSelectionBehavior /// public static readonly NumberSelectionBehavior PreferSticky = new NumberSelectionBehavior("PreferSticky"); /// /// 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 NumberSelectionBehavior(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 NumberSelectionBehavior 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 NumberSelectionBehavior(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrderedPhoneNumberStatus. /// public class OrderedPhoneNumberStatus : ConstantClass { /// /// Constant Acquired for OrderedPhoneNumberStatus /// public static readonly OrderedPhoneNumberStatus Acquired = new OrderedPhoneNumberStatus("Acquired"); /// /// Constant Failed for OrderedPhoneNumberStatus /// public static readonly OrderedPhoneNumberStatus Failed = new OrderedPhoneNumberStatus("Failed"); /// /// Constant Processing for OrderedPhoneNumberStatus /// public static readonly OrderedPhoneNumberStatus Processing = new OrderedPhoneNumberStatus("Processing"); /// /// 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 OrderedPhoneNumberStatus(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 OrderedPhoneNumberStatus 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 OrderedPhoneNumberStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type OriginationRouteProtocol. /// public class OriginationRouteProtocol : ConstantClass { /// /// Constant TCP for OriginationRouteProtocol /// public static readonly OriginationRouteProtocol TCP = new OriginationRouteProtocol("TCP"); /// /// Constant UDP for OriginationRouteProtocol /// public static readonly OriginationRouteProtocol UDP = new OriginationRouteProtocol("UDP"); /// /// 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 OriginationRouteProtocol(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 OriginationRouteProtocol 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 OriginationRouteProtocol(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberAssociationName. /// public class PhoneNumberAssociationName : ConstantClass { /// /// Constant SipRuleId for PhoneNumberAssociationName /// public static readonly PhoneNumberAssociationName SipRuleId = new PhoneNumberAssociationName("SipRuleId"); /// /// Constant VoiceConnectorGroupId for PhoneNumberAssociationName /// public static readonly PhoneNumberAssociationName VoiceConnectorGroupId = new PhoneNumberAssociationName("VoiceConnectorGroupId"); /// /// Constant VoiceConnectorId for PhoneNumberAssociationName /// public static readonly PhoneNumberAssociationName VoiceConnectorId = new PhoneNumberAssociationName("VoiceConnectorId"); /// /// 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 PhoneNumberAssociationName(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 PhoneNumberAssociationName 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 PhoneNumberAssociationName(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberOrderStatus. /// public class PhoneNumberOrderStatus : ConstantClass { /// /// Constant Cancelled for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Cancelled = new PhoneNumberOrderStatus("Cancelled"); /// /// Constant CancelRequested for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus CancelRequested = new PhoneNumberOrderStatus("CancelRequested"); /// /// Constant ChangeRequested for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus ChangeRequested = new PhoneNumberOrderStatus("ChangeRequested"); /// /// Constant Exception for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Exception = new PhoneNumberOrderStatus("Exception"); /// /// Constant Failed for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Failed = new PhoneNumberOrderStatus("Failed"); /// /// Constant FOC for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus FOC = new PhoneNumberOrderStatus("FOC"); /// /// Constant Partial for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Partial = new PhoneNumberOrderStatus("Partial"); /// /// Constant PendingDocuments for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus PendingDocuments = new PhoneNumberOrderStatus("PendingDocuments"); /// /// Constant Processing for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Processing = new PhoneNumberOrderStatus("Processing"); /// /// Constant Submitted for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Submitted = new PhoneNumberOrderStatus("Submitted"); /// /// Constant Successful for PhoneNumberOrderStatus /// public static readonly PhoneNumberOrderStatus Successful = new PhoneNumberOrderStatus("Successful"); /// /// 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 PhoneNumberOrderStatus(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 PhoneNumberOrderStatus 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 PhoneNumberOrderStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberOrderType. /// public class PhoneNumberOrderType : ConstantClass { /// /// Constant New for PhoneNumberOrderType /// public static readonly PhoneNumberOrderType New = new PhoneNumberOrderType("New"); /// /// Constant Porting for PhoneNumberOrderType /// public static readonly PhoneNumberOrderType Porting = new PhoneNumberOrderType("Porting"); /// /// 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 PhoneNumberOrderType(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 PhoneNumberOrderType 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 PhoneNumberOrderType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberProductType. /// public class PhoneNumberProductType : ConstantClass { /// /// Constant SipMediaApplicationDialIn for PhoneNumberProductType /// public static readonly PhoneNumberProductType SipMediaApplicationDialIn = new PhoneNumberProductType("SipMediaApplicationDialIn"); /// /// Constant VoiceConnector for PhoneNumberProductType /// public static readonly PhoneNumberProductType VoiceConnector = new PhoneNumberProductType("VoiceConnector"); /// /// 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 PhoneNumberProductType(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 PhoneNumberProductType 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 PhoneNumberProductType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberStatus. /// public class PhoneNumberStatus : ConstantClass { /// /// Constant AcquireFailed for PhoneNumberStatus /// public static readonly PhoneNumberStatus AcquireFailed = new PhoneNumberStatus("AcquireFailed"); /// /// Constant AcquireInProgress for PhoneNumberStatus /// public static readonly PhoneNumberStatus AcquireInProgress = new PhoneNumberStatus("AcquireInProgress"); /// /// Constant Assigned for PhoneNumberStatus /// public static readonly PhoneNumberStatus Assigned = new PhoneNumberStatus("Assigned"); /// /// Constant Cancelled for PhoneNumberStatus /// public static readonly PhoneNumberStatus Cancelled = new PhoneNumberStatus("Cancelled"); /// /// Constant DeleteFailed for PhoneNumberStatus /// public static readonly PhoneNumberStatus DeleteFailed = new PhoneNumberStatus("DeleteFailed"); /// /// Constant DeleteInProgress for PhoneNumberStatus /// public static readonly PhoneNumberStatus DeleteInProgress = new PhoneNumberStatus("DeleteInProgress"); /// /// Constant PortinCancelRequested for PhoneNumberStatus /// public static readonly PhoneNumberStatus PortinCancelRequested = new PhoneNumberStatus("PortinCancelRequested"); /// /// Constant PortinInProgress for PhoneNumberStatus /// public static readonly PhoneNumberStatus PortinInProgress = new PhoneNumberStatus("PortinInProgress"); /// /// Constant ReleaseFailed for PhoneNumberStatus /// public static readonly PhoneNumberStatus ReleaseFailed = new PhoneNumberStatus("ReleaseFailed"); /// /// Constant ReleaseInProgress for PhoneNumberStatus /// public static readonly PhoneNumberStatus ReleaseInProgress = new PhoneNumberStatus("ReleaseInProgress"); /// /// Constant Unassigned for PhoneNumberStatus /// public static readonly PhoneNumberStatus Unassigned = new PhoneNumberStatus("Unassigned"); /// /// 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 PhoneNumberStatus(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 PhoneNumberStatus 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 PhoneNumberStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhoneNumberType. /// public class PhoneNumberType : ConstantClass { /// /// Constant Local for PhoneNumberType /// public static readonly PhoneNumberType Local = new PhoneNumberType("Local"); /// /// Constant TollFree for PhoneNumberType /// public static readonly PhoneNumberType TollFree = new PhoneNumberType("TollFree"); /// /// 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 PhoneNumberType(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 PhoneNumberType 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 PhoneNumberType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ProxySessionStatus. /// public class ProxySessionStatus : ConstantClass { /// /// Constant Closed for ProxySessionStatus /// public static readonly ProxySessionStatus Closed = new ProxySessionStatus("Closed"); /// /// Constant InProgress for ProxySessionStatus /// public static readonly ProxySessionStatus InProgress = new ProxySessionStatus("InProgress"); /// /// Constant Open for ProxySessionStatus /// public static readonly ProxySessionStatus Open = new ProxySessionStatus("Open"); /// /// 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 ProxySessionStatus(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 ProxySessionStatus 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 ProxySessionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type SipRuleTriggerType. /// public class SipRuleTriggerType : ConstantClass { /// /// Constant RequestUriHostname for SipRuleTriggerType /// public static readonly SipRuleTriggerType RequestUriHostname = new SipRuleTriggerType("RequestUriHostname"); /// /// Constant ToPhoneNumber for SipRuleTriggerType /// public static readonly SipRuleTriggerType ToPhoneNumber = new SipRuleTriggerType("ToPhoneNumber"); /// /// 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 SipRuleTriggerType(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 SipRuleTriggerType 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 SipRuleTriggerType(string value) { return FindValue(value); } } /// /// Constants used for properties of type VoiceConnectorAwsRegion. /// public class VoiceConnectorAwsRegion : ConstantClass { /// /// Constant ApNortheast1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion ApNortheast1 = new VoiceConnectorAwsRegion("ap-northeast-1"); /// /// Constant ApNortheast2 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion ApNortheast2 = new VoiceConnectorAwsRegion("ap-northeast-2"); /// /// Constant ApSoutheast1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion ApSoutheast1 = new VoiceConnectorAwsRegion("ap-southeast-1"); /// /// Constant ApSoutheast2 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion ApSoutheast2 = new VoiceConnectorAwsRegion("ap-southeast-2"); /// /// Constant CaCentral1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion CaCentral1 = new VoiceConnectorAwsRegion("ca-central-1"); /// /// Constant EuCentral1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion EuCentral1 = new VoiceConnectorAwsRegion("eu-central-1"); /// /// Constant EuWest1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion EuWest1 = new VoiceConnectorAwsRegion("eu-west-1"); /// /// Constant EuWest2 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion EuWest2 = new VoiceConnectorAwsRegion("eu-west-2"); /// /// Constant UsEast1 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion UsEast1 = new VoiceConnectorAwsRegion("us-east-1"); /// /// Constant UsWest2 for VoiceConnectorAwsRegion /// public static readonly VoiceConnectorAwsRegion UsWest2 = new VoiceConnectorAwsRegion("us-west-2"); /// /// 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 VoiceConnectorAwsRegion(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 VoiceConnectorAwsRegion 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 VoiceConnectorAwsRegion(string value) { return FindValue(value); } } }