/* * 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-messaging-2021-05-15.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging { /// /// Constants used for properties of type AllowNotifications. /// public class AllowNotifications : ConstantClass { /// /// Constant ALL for AllowNotifications /// public static readonly AllowNotifications ALL = new AllowNotifications("ALL"); /// /// Constant FILTERED for AllowNotifications /// public static readonly AllowNotifications FILTERED = new AllowNotifications("FILTERED"); /// /// Constant NONE for AllowNotifications /// public static readonly AllowNotifications NONE = new AllowNotifications("NONE"); /// /// 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 AllowNotifications(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 AllowNotifications 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 AllowNotifications(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelMembershipType. /// public class ChannelMembershipType : ConstantClass { /// /// Constant DEFAULT for ChannelMembershipType /// public static readonly ChannelMembershipType DEFAULT = new ChannelMembershipType("DEFAULT"); /// /// Constant HIDDEN for ChannelMembershipType /// public static readonly ChannelMembershipType HIDDEN = new ChannelMembershipType("HIDDEN"); /// /// 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 ChannelMembershipType(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 ChannelMembershipType 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 ChannelMembershipType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelMessagePersistenceType. /// public class ChannelMessagePersistenceType : ConstantClass { /// /// Constant NON_PERSISTENT for ChannelMessagePersistenceType /// public static readonly ChannelMessagePersistenceType NON_PERSISTENT = new ChannelMessagePersistenceType("NON_PERSISTENT"); /// /// Constant PERSISTENT for ChannelMessagePersistenceType /// public static readonly ChannelMessagePersistenceType PERSISTENT = new ChannelMessagePersistenceType("PERSISTENT"); /// /// 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 ChannelMessagePersistenceType(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 ChannelMessagePersistenceType 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 ChannelMessagePersistenceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelMessageStatus. /// public class ChannelMessageStatus : ConstantClass { /// /// Constant DENIED for ChannelMessageStatus /// public static readonly ChannelMessageStatus DENIED = new ChannelMessageStatus("DENIED"); /// /// Constant FAILED for ChannelMessageStatus /// public static readonly ChannelMessageStatus FAILED = new ChannelMessageStatus("FAILED"); /// /// Constant PENDING for ChannelMessageStatus /// public static readonly ChannelMessageStatus PENDING = new ChannelMessageStatus("PENDING"); /// /// Constant SENT for ChannelMessageStatus /// public static readonly ChannelMessageStatus SENT = new ChannelMessageStatus("SENT"); /// /// 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 ChannelMessageStatus(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 ChannelMessageStatus 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 ChannelMessageStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelMessageType. /// public class ChannelMessageType : ConstantClass { /// /// Constant CONTROL for ChannelMessageType /// public static readonly ChannelMessageType CONTROL = new ChannelMessageType("CONTROL"); /// /// Constant STANDARD for ChannelMessageType /// public static readonly ChannelMessageType STANDARD = new ChannelMessageType("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 ChannelMessageType(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 ChannelMessageType 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 ChannelMessageType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelMode. /// public class ChannelMode : ConstantClass { /// /// Constant RESTRICTED for ChannelMode /// public static readonly ChannelMode RESTRICTED = new ChannelMode("RESTRICTED"); /// /// Constant UNRESTRICTED for ChannelMode /// public static readonly ChannelMode UNRESTRICTED = new ChannelMode("UNRESTRICTED"); /// /// 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 ChannelMode(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 ChannelMode 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 ChannelMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelPrivacy. /// public class ChannelPrivacy : ConstantClass { /// /// Constant PRIVATE for ChannelPrivacy /// public static readonly ChannelPrivacy PRIVATE = new ChannelPrivacy("PRIVATE"); /// /// Constant PUBLIC for ChannelPrivacy /// public static readonly ChannelPrivacy PUBLIC = new ChannelPrivacy("PUBLIC"); /// /// 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 ChannelPrivacy(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 ChannelPrivacy 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 ChannelPrivacy(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 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 ExpirationCriterion. /// public class ExpirationCriterion : ConstantClass { /// /// Constant CREATED_TIMESTAMP for ExpirationCriterion /// public static readonly ExpirationCriterion CREATED_TIMESTAMP = new ExpirationCriterion("CREATED_TIMESTAMP"); /// /// Constant LAST_MESSAGE_TIMESTAMP for ExpirationCriterion /// public static readonly ExpirationCriterion LAST_MESSAGE_TIMESTAMP = new ExpirationCriterion("LAST_MESSAGE_TIMESTAMP"); /// /// 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 ExpirationCriterion(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 ExpirationCriterion 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 ExpirationCriterion(string value) { return FindValue(value); } } /// /// Constants used for properties of type FallbackAction. /// public class FallbackAction : ConstantClass { /// /// Constant ABORT for FallbackAction /// public static readonly FallbackAction ABORT = new FallbackAction("ABORT"); /// /// Constant CONTINUE for FallbackAction /// public static readonly FallbackAction CONTINUE = new FallbackAction("CONTINUE"); /// /// 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 FallbackAction(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 FallbackAction 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 FallbackAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type InvocationType. /// public class InvocationType : ConstantClass { /// /// Constant ASYNC for InvocationType /// public static readonly InvocationType ASYNC = new InvocationType("ASYNC"); /// /// 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 InvocationType(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 InvocationType 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 InvocationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MessagingDataType. /// public class MessagingDataType : ConstantClass { /// /// Constant Channel for MessagingDataType /// public static readonly MessagingDataType Channel = new MessagingDataType("Channel"); /// /// Constant ChannelMessage for MessagingDataType /// public static readonly MessagingDataType ChannelMessage = new MessagingDataType("ChannelMessage"); /// /// 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 MessagingDataType(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 MessagingDataType 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 MessagingDataType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PushNotificationType. /// public class PushNotificationType : ConstantClass { /// /// Constant DEFAULT for PushNotificationType /// public static readonly PushNotificationType DEFAULT = new PushNotificationType("DEFAULT"); /// /// Constant VOIP for PushNotificationType /// public static readonly PushNotificationType VOIP = new PushNotificationType("VOIP"); /// /// 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 PushNotificationType(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 PushNotificationType 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 PushNotificationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SearchFieldKey. /// public class SearchFieldKey : ConstantClass { /// /// Constant MEMBERS for SearchFieldKey /// public static readonly SearchFieldKey MEMBERS = new SearchFieldKey("MEMBERS"); /// /// 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 SearchFieldKey(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 SearchFieldKey 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 SearchFieldKey(string value) { return FindValue(value); } } /// /// Constants used for properties of type SearchFieldOperator. /// public class SearchFieldOperator : ConstantClass { /// /// Constant EQUALS for SearchFieldOperator /// public static readonly SearchFieldOperator EQUALS = new SearchFieldOperator("EQUALS"); /// /// Constant INCLUDES for SearchFieldOperator /// public static readonly SearchFieldOperator INCLUDES = new SearchFieldOperator("INCLUDES"); /// /// 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 SearchFieldOperator(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 SearchFieldOperator 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 SearchFieldOperator(string value) { return FindValue(value); } } /// /// Constants used for properties of type SortOrder. /// public class SortOrder : ConstantClass { /// /// Constant ASCENDING for SortOrder /// public static readonly SortOrder ASCENDING = new SortOrder("ASCENDING"); /// /// Constant DESCENDING for SortOrder /// public static readonly SortOrder DESCENDING = new SortOrder("DESCENDING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SortOrder(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SortOrder FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SortOrder(string value) { return FindValue(value); } } }