/*
* 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 managedblockchain-2018-09-24.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ManagedBlockchain
{
///
/// Constants used for properties of type AccessorStatus.
///
public class AccessorStatus : ConstantClass
{
///
/// Constant AVAILABLE for AccessorStatus
///
public static readonly AccessorStatus AVAILABLE = new AccessorStatus("AVAILABLE");
///
/// Constant DELETED for AccessorStatus
///
public static readonly AccessorStatus DELETED = new AccessorStatus("DELETED");
///
/// Constant PENDING_DELETION for AccessorStatus
///
public static readonly AccessorStatus PENDING_DELETION = new AccessorStatus("PENDING_DELETION");
///
/// 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 AccessorStatus(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 AccessorStatus 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 AccessorStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AccessorType.
///
public class AccessorType : ConstantClass
{
///
/// Constant BILLING_TOKEN for AccessorType
///
public static readonly AccessorType BILLING_TOKEN = new AccessorType("BILLING_TOKEN");
///
/// 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 AccessorType(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 AccessorType 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 AccessorType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Edition.
///
public class Edition : ConstantClass
{
///
/// Constant STANDARD for Edition
///
public static readonly Edition STANDARD = new Edition("STANDARD");
///
/// Constant STARTER for Edition
///
public static readonly Edition STARTER = new Edition("STARTER");
///
/// 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 Edition(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 Edition 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 Edition(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Framework.
///
public class Framework : ConstantClass
{
///
/// Constant ETHEREUM for Framework
///
public static readonly Framework ETHEREUM = new Framework("ETHEREUM");
///
/// Constant HYPERLEDGER_FABRIC for Framework
///
public static readonly Framework HYPERLEDGER_FABRIC = new Framework("HYPERLEDGER_FABRIC");
///
/// 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 Framework(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 Framework 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 Framework(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InvitationStatus.
///
public class InvitationStatus : ConstantClass
{
///
/// Constant ACCEPTED for InvitationStatus
///
public static readonly InvitationStatus ACCEPTED = new InvitationStatus("ACCEPTED");
///
/// Constant ACCEPTING for InvitationStatus
///
public static readonly InvitationStatus ACCEPTING = new InvitationStatus("ACCEPTING");
///
/// Constant EXPIRED for InvitationStatus
///
public static readonly InvitationStatus EXPIRED = new InvitationStatus("EXPIRED");
///
/// Constant PENDING for InvitationStatus
///
public static readonly InvitationStatus PENDING = new InvitationStatus("PENDING");
///
/// Constant REJECTED for InvitationStatus
///
public static readonly InvitationStatus REJECTED = new InvitationStatus("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 InvitationStatus(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 InvitationStatus 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 InvitationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MemberStatus.
///
public class MemberStatus : ConstantClass
{
///
/// Constant AVAILABLE for MemberStatus
///
public static readonly MemberStatus AVAILABLE = new MemberStatus("AVAILABLE");
///
/// Constant CREATE_FAILED for MemberStatus
///
public static readonly MemberStatus CREATE_FAILED = new MemberStatus("CREATE_FAILED");
///
/// Constant CREATING for MemberStatus
///
public static readonly MemberStatus CREATING = new MemberStatus("CREATING");
///
/// Constant DELETED for MemberStatus
///
public static readonly MemberStatus DELETED = new MemberStatus("DELETED");
///
/// Constant DELETING for MemberStatus
///
public static readonly MemberStatus DELETING = new MemberStatus("DELETING");
///
/// Constant INACCESSIBLE_ENCRYPTION_KEY for MemberStatus
///
public static readonly MemberStatus INACCESSIBLE_ENCRYPTION_KEY = new MemberStatus("INACCESSIBLE_ENCRYPTION_KEY");
///
/// Constant UPDATING for MemberStatus
///
public static readonly MemberStatus UPDATING = new MemberStatus("UPDATING");
///
/// 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 MemberStatus(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 MemberStatus 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 MemberStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NetworkStatus.
///
public class NetworkStatus : ConstantClass
{
///
/// Constant AVAILABLE for NetworkStatus
///
public static readonly NetworkStatus AVAILABLE = new NetworkStatus("AVAILABLE");
///
/// Constant CREATE_FAILED for NetworkStatus
///
public static readonly NetworkStatus CREATE_FAILED = new NetworkStatus("CREATE_FAILED");
///
/// Constant CREATING for NetworkStatus
///
public static readonly NetworkStatus CREATING = new NetworkStatus("CREATING");
///
/// Constant DELETED for NetworkStatus
///
public static readonly NetworkStatus DELETED = new NetworkStatus("DELETED");
///
/// Constant DELETING for NetworkStatus
///
public static readonly NetworkStatus DELETING = new NetworkStatus("DELETING");
///
/// 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 NetworkStatus(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 NetworkStatus 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 NetworkStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NodeStatus.
///
public class NodeStatus : ConstantClass
{
///
/// Constant AVAILABLE for NodeStatus
///
public static readonly NodeStatus AVAILABLE = new NodeStatus("AVAILABLE");
///
/// Constant CREATE_FAILED for NodeStatus
///
public static readonly NodeStatus CREATE_FAILED = new NodeStatus("CREATE_FAILED");
///
/// Constant CREATING for NodeStatus
///
public static readonly NodeStatus CREATING = new NodeStatus("CREATING");
///
/// Constant DELETED for NodeStatus
///
public static readonly NodeStatus DELETED = new NodeStatus("DELETED");
///
/// Constant DELETING for NodeStatus
///
public static readonly NodeStatus DELETING = new NodeStatus("DELETING");
///
/// Constant FAILED for NodeStatus
///
public static readonly NodeStatus FAILED = new NodeStatus("FAILED");
///
/// Constant INACCESSIBLE_ENCRYPTION_KEY for NodeStatus
///
public static readonly NodeStatus INACCESSIBLE_ENCRYPTION_KEY = new NodeStatus("INACCESSIBLE_ENCRYPTION_KEY");
///
/// Constant UNHEALTHY for NodeStatus
///
public static readonly NodeStatus UNHEALTHY = new NodeStatus("UNHEALTHY");
///
/// Constant UPDATING for NodeStatus
///
public static readonly NodeStatus UPDATING = new NodeStatus("UPDATING");
///
/// 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 NodeStatus(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 NodeStatus 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 NodeStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ProposalStatus.
///
public class ProposalStatus : ConstantClass
{
///
/// Constant ACTION_FAILED for ProposalStatus
///
public static readonly ProposalStatus ACTION_FAILED = new ProposalStatus("ACTION_FAILED");
///
/// Constant APPROVED for ProposalStatus
///
public static readonly ProposalStatus APPROVED = new ProposalStatus("APPROVED");
///
/// Constant EXPIRED for ProposalStatus
///
public static readonly ProposalStatus EXPIRED = new ProposalStatus("EXPIRED");
///
/// Constant IN_PROGRESS for ProposalStatus
///
public static readonly ProposalStatus IN_PROGRESS = new ProposalStatus("IN_PROGRESS");
///
/// Constant REJECTED for ProposalStatus
///
public static readonly ProposalStatus REJECTED = new ProposalStatus("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 ProposalStatus(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 ProposalStatus 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 ProposalStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StateDBType.
///
public class StateDBType : ConstantClass
{
///
/// Constant CouchDB for StateDBType
///
public static readonly StateDBType CouchDB = new StateDBType("CouchDB");
///
/// Constant LevelDB for StateDBType
///
public static readonly StateDBType LevelDB = new StateDBType("LevelDB");
///
/// 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 StateDBType(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 StateDBType 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 StateDBType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ThresholdComparator.
///
public class ThresholdComparator : ConstantClass
{
///
/// Constant GREATER_THAN for ThresholdComparator
///
public static readonly ThresholdComparator GREATER_THAN = new ThresholdComparator("GREATER_THAN");
///
/// Constant GREATER_THAN_OR_EQUAL_TO for ThresholdComparator
///
public static readonly ThresholdComparator GREATER_THAN_OR_EQUAL_TO = new ThresholdComparator("GREATER_THAN_OR_EQUAL_TO");
///
/// 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 ThresholdComparator(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 ThresholdComparator 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 ThresholdComparator(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VoteValue.
///
public class VoteValue : ConstantClass
{
///
/// Constant NO for VoteValue
///
public static readonly VoteValue NO = new VoteValue("NO");
///
/// Constant YES for VoteValue
///
public static readonly VoteValue YES = new VoteValue("YES");
///
/// 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 VoteValue(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 VoteValue 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 VoteValue(string value)
{
return FindValue(value);
}
}
}