/*
* 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 connectparticipant-2018-09-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ConnectParticipant
{
///
/// Constants used for properties of type ArtifactStatus.
///
public class ArtifactStatus : ConstantClass
{
///
/// Constant APPROVED for ArtifactStatus
///
public static readonly ArtifactStatus APPROVED = new ArtifactStatus("APPROVED");
///
/// Constant IN_PROGRESS for ArtifactStatus
///
public static readonly ArtifactStatus IN_PROGRESS = new ArtifactStatus("IN_PROGRESS");
///
/// Constant REJECTED for ArtifactStatus
///
public static readonly ArtifactStatus REJECTED = new ArtifactStatus("REJECTED");
///
/// 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 ArtifactStatus(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 ArtifactStatus 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 ArtifactStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ChatItemType.
///
public class ChatItemType : ConstantClass
{
///
/// Constant ATTACHMENT for ChatItemType
///
public static readonly ChatItemType ATTACHMENT = new ChatItemType("ATTACHMENT");
///
/// Constant CHAT_ENDED for ChatItemType
///
public static readonly ChatItemType CHAT_ENDED = new ChatItemType("CHAT_ENDED");
///
/// Constant CONNECTION_ACK for ChatItemType
///
public static readonly ChatItemType CONNECTION_ACK = new ChatItemType("CONNECTION_ACK");
///
/// Constant EVENT for ChatItemType
///
public static readonly ChatItemType EVENT = new ChatItemType("EVENT");
///
/// Constant MESSAGE for ChatItemType
///
public static readonly ChatItemType MESSAGE = new ChatItemType("MESSAGE");
///
/// Constant MESSAGE_DELIVERED for ChatItemType
///
public static readonly ChatItemType MESSAGE_DELIVERED = new ChatItemType("MESSAGE_DELIVERED");
///
/// Constant MESSAGE_READ for ChatItemType
///
public static readonly ChatItemType MESSAGE_READ = new ChatItemType("MESSAGE_READ");
///
/// Constant PARTICIPANT_JOINED for ChatItemType
///
public static readonly ChatItemType PARTICIPANT_JOINED = new ChatItemType("PARTICIPANT_JOINED");
///
/// Constant PARTICIPANT_LEFT for ChatItemType
///
public static readonly ChatItemType PARTICIPANT_LEFT = new ChatItemType("PARTICIPANT_LEFT");
///
/// Constant TRANSFER_FAILED for ChatItemType
///
public static readonly ChatItemType TRANSFER_FAILED = new ChatItemType("TRANSFER_FAILED");
///
/// Constant TRANSFER_SUCCEEDED for ChatItemType
///
public static readonly ChatItemType TRANSFER_SUCCEEDED = new ChatItemType("TRANSFER_SUCCEEDED");
///
/// Constant TYPING for ChatItemType
///
public static readonly ChatItemType TYPING = new ChatItemType("TYPING");
///
/// 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 ChatItemType(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 ChatItemType 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 ChatItemType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConnectionType.
///
public class ConnectionType : ConstantClass
{
///
/// Constant CONNECTION_CREDENTIALS for ConnectionType
///
public static readonly ConnectionType CONNECTION_CREDENTIALS = new ConnectionType("CONNECTION_CREDENTIALS");
///
/// Constant WEBSOCKET for ConnectionType
///
public static readonly ConnectionType WEBSOCKET = new ConnectionType("WEBSOCKET");
///
/// 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 ConnectionType(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 ConnectionType 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 ConnectionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ParticipantRole.
///
public class ParticipantRole : ConstantClass
{
///
/// Constant AGENT for ParticipantRole
///
public static readonly ParticipantRole AGENT = new ParticipantRole("AGENT");
///
/// Constant CUSTOMER for ParticipantRole
///
public static readonly ParticipantRole CUSTOMER = new ParticipantRole("CUSTOMER");
///
/// Constant SYSTEM for ParticipantRole
///
public static readonly ParticipantRole SYSTEM = new ParticipantRole("SYSTEM");
///
/// 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 ParticipantRole(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 ParticipantRole 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 ParticipantRole(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanDirection.
///
public class ScanDirection : ConstantClass
{
///
/// Constant BACKWARD for ScanDirection
///
public static readonly ScanDirection BACKWARD = new ScanDirection("BACKWARD");
///
/// Constant FORWARD for ScanDirection
///
public static readonly ScanDirection FORWARD = new ScanDirection("FORWARD");
///
/// 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 ScanDirection(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 ScanDirection 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 ScanDirection(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SortKey.
///
public class SortKey : ConstantClass
{
///
/// Constant ASCENDING for SortKey
///
public static readonly SortKey ASCENDING = new SortKey("ASCENDING");
///
/// Constant DESCENDING for SortKey
///
public static readonly SortKey DESCENDING = new SortKey("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 SortKey(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 SortKey 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 SortKey(string value)
{
return FindValue(value);
}
}
}