/*
* 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 ivs-realtime-2020-07-14.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.IVSRealTime
{
///
/// Constants used for properties of type EventErrorCode.
///
public class EventErrorCode : ConstantClass
{
///
/// Constant INSUFFICIENT_CAPABILITIES for EventErrorCode
///
public static readonly EventErrorCode INSUFFICIENT_CAPABILITIES = new EventErrorCode("INSUFFICIENT_CAPABILITIES");
///
/// 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 EventErrorCode(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 EventErrorCode 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 EventErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventName.
///
public class EventName : ConstantClass
{
///
/// Constant JOIN_ERROR for EventName
///
public static readonly EventName JOIN_ERROR = new EventName("JOIN_ERROR");
///
/// Constant JOINED for EventName
///
public static readonly EventName JOINED = new EventName("JOINED");
///
/// Constant LEFT for EventName
///
public static readonly EventName LEFT = new EventName("LEFT");
///
/// Constant PUBLISH_ERROR for EventName
///
public static readonly EventName PUBLISH_ERROR = new EventName("PUBLISH_ERROR");
///
/// Constant PUBLISH_STARTED for EventName
///
public static readonly EventName PUBLISH_STARTED = new EventName("PUBLISH_STARTED");
///
/// Constant PUBLISH_STOPPED for EventName
///
public static readonly EventName PUBLISH_STOPPED = new EventName("PUBLISH_STOPPED");
///
/// Constant SUBSCRIBE_ERROR for EventName
///
public static readonly EventName SUBSCRIBE_ERROR = new EventName("SUBSCRIBE_ERROR");
///
/// Constant SUBSCRIBE_STARTED for EventName
///
public static readonly EventName SUBSCRIBE_STARTED = new EventName("SUBSCRIBE_STARTED");
///
/// Constant SUBSCRIBE_STOPPED for EventName
///
public static readonly EventName SUBSCRIBE_STOPPED = new EventName("SUBSCRIBE_STOPPED");
///
/// 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 EventName(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 EventName 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 EventName(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ParticipantState.
///
public class ParticipantState : ConstantClass
{
///
/// Constant CONNECTED for ParticipantState
///
public static readonly ParticipantState CONNECTED = new ParticipantState("CONNECTED");
///
/// Constant DISCONNECTED for ParticipantState
///
public static readonly ParticipantState DISCONNECTED = new ParticipantState("DISCONNECTED");
///
/// 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 ParticipantState(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 ParticipantState 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 ParticipantState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ParticipantTokenCapability.
///
public class ParticipantTokenCapability : ConstantClass
{
///
/// Constant PUBLISH for ParticipantTokenCapability
///
public static readonly ParticipantTokenCapability PUBLISH = new ParticipantTokenCapability("PUBLISH");
///
/// Constant SUBSCRIBE for ParticipantTokenCapability
///
public static readonly ParticipantTokenCapability SUBSCRIBE = new ParticipantTokenCapability("SUBSCRIBE");
///
/// 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 ParticipantTokenCapability(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 ParticipantTokenCapability 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 ParticipantTokenCapability(string value)
{
return FindValue(value);
}
}
}