/*
* 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-query-2023-05-04.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ManagedBlockchainQuery
{
///
/// Constants used for properties of type ErrorType.
///
public class ErrorType : ConstantClass
{
///
/// Constant RESOURCE_NOT_FOUND_EXCEPTION for ErrorType
///
public static readonly ErrorType RESOURCE_NOT_FOUND_EXCEPTION = new ErrorType("RESOURCE_NOT_FOUND_EXCEPTION");
///
/// Constant VALIDATION_EXCEPTION for ErrorType
///
public static readonly ErrorType VALIDATION_EXCEPTION = new ErrorType("VALIDATION_EXCEPTION");
///
/// 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 ErrorType(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 ErrorType 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 ErrorType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ListTransactionsSortBy.
///
public class ListTransactionsSortBy : ConstantClass
{
///
/// Constant TRANSACTION_TIMESTAMP for ListTransactionsSortBy
///
public static readonly ListTransactionsSortBy TRANSACTION_TIMESTAMP = new ListTransactionsSortBy("TRANSACTION_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 ListTransactionsSortBy(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 ListTransactionsSortBy 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 ListTransactionsSortBy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type QueryNetwork.
///
public class QueryNetwork : ConstantClass
{
///
/// Constant BITCOIN_MAINNET for QueryNetwork
///
public static readonly QueryNetwork BITCOIN_MAINNET = new QueryNetwork("BITCOIN_MAINNET");
///
/// Constant ETHEREUM_MAINNET for QueryNetwork
///
public static readonly QueryNetwork ETHEREUM_MAINNET = new QueryNetwork("ETHEREUM_MAINNET");
///
/// 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 QueryNetwork(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 QueryNetwork 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 QueryNetwork(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type QueryTransactionEventType.
///
public class QueryTransactionEventType : ConstantClass
{
///
/// Constant BITCOIN_VIN for QueryTransactionEventType
///
public static readonly QueryTransactionEventType BITCOIN_VIN = new QueryTransactionEventType("BITCOIN_VIN");
///
/// Constant BITCOIN_VOUT for QueryTransactionEventType
///
public static readonly QueryTransactionEventType BITCOIN_VOUT = new QueryTransactionEventType("BITCOIN_VOUT");
///
/// Constant ERC1155_TRANSFER for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC1155_TRANSFER = new QueryTransactionEventType("ERC1155_TRANSFER");
///
/// Constant ERC20_BURN for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC20_BURN = new QueryTransactionEventType("ERC20_BURN");
///
/// Constant ERC20_DEPOSIT for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC20_DEPOSIT = new QueryTransactionEventType("ERC20_DEPOSIT");
///
/// Constant ERC20_MINT for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC20_MINT = new QueryTransactionEventType("ERC20_MINT");
///
/// Constant ERC20_TRANSFER for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC20_TRANSFER = new QueryTransactionEventType("ERC20_TRANSFER");
///
/// Constant ERC20_WITHDRAWAL for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC20_WITHDRAWAL = new QueryTransactionEventType("ERC20_WITHDRAWAL");
///
/// Constant ERC721_TRANSFER for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ERC721_TRANSFER = new QueryTransactionEventType("ERC721_TRANSFER");
///
/// Constant ETH_TRANSFER for QueryTransactionEventType
///
public static readonly QueryTransactionEventType ETH_TRANSFER = new QueryTransactionEventType("ETH_TRANSFER");
///
/// Constant INTERNAL_ETH_TRANSFER for QueryTransactionEventType
///
public static readonly QueryTransactionEventType INTERNAL_ETH_TRANSFER = new QueryTransactionEventType("INTERNAL_ETH_TRANSFER");
///
/// 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 QueryTransactionEventType(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 QueryTransactionEventType 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 QueryTransactionEventType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type QueryTransactionStatus.
///
public class QueryTransactionStatus : ConstantClass
{
///
/// Constant FAILED for QueryTransactionStatus
///
public static readonly QueryTransactionStatus FAILED = new QueryTransactionStatus("FAILED");
///
/// Constant FINAL for QueryTransactionStatus
///
public static readonly QueryTransactionStatus FINAL = new QueryTransactionStatus("FINAL");
///
/// 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 QueryTransactionStatus(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 QueryTransactionStatus 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 QueryTransactionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceType.
///
public class ResourceType : ConstantClass
{
///
/// Constant Collection for ResourceType
///
public static readonly ResourceType Collection = new ResourceType("collection");
///
/// 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 ResourceType(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 ResourceType 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 ResourceType(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);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CannotParse for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse");
///
/// Constant FieldValidationFailed for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed");
///
/// Constant Other for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other");
///
/// Constant UnknownOperation for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}