/*
* 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 mobile-2017-07-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Mobile
{
///
/// Constants used for properties of type Platform.
///
public class Platform : ConstantClass
{
///
/// Constant ANDROID for Platform
///
public static readonly Platform ANDROID = new Platform("ANDROID");
///
/// Constant JAVASCRIPT for Platform
///
public static readonly Platform JAVASCRIPT = new Platform("JAVASCRIPT");
///
/// Constant LINUX for Platform
///
public static readonly Platform LINUX = new Platform("LINUX");
///
/// Constant OBJC for Platform
///
public static readonly Platform OBJC = new Platform("OBJC");
///
/// Constant OSX for Platform
///
public static readonly Platform OSX = new Platform("OSX");
///
/// Constant SWIFT for Platform
///
public static readonly Platform SWIFT = new Platform("SWIFT");
///
/// Constant WINDOWS for Platform
///
public static readonly Platform WINDOWS = new Platform("WINDOWS");
///
/// 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 Platform(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 Platform 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 Platform(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProjectState.
///
public class ProjectState : ConstantClass
{
///
/// Constant IMPORTING for ProjectState
///
public static readonly ProjectState IMPORTING = new ProjectState("IMPORTING");
///
/// Constant NORMAL for ProjectState
///
public static readonly ProjectState NORMAL = new ProjectState("NORMAL");
///
/// Constant SYNCING for ProjectState
///
public static readonly ProjectState SYNCING = new ProjectState("SYNCING");
///
/// 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 ProjectState(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 ProjectState 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 ProjectState(string value)
{
return FindValue(value);
}
}
}