/* * 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 frauddetector-2019-11-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.FraudDetector.Model { /// /// The variable. /// public partial class Variable { private string _arn; private string _createdTime; private DataSource _dataSource; private DataType _dataType; private string _defaultValue; private string _description; private string _lastUpdatedTime; private string _name; private string _variableType; /// /// Gets and sets the property Arn. /// /// The ARN of the variable. /// /// [AWSProperty(Min=1, Max=256)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CreatedTime. /// /// The time when the variable was created. /// /// [AWSProperty(Min=11, Max=30)] public string CreatedTime { get { return this._createdTime; } set { this._createdTime = value; } } // Check to see if CreatedTime property is set internal bool IsSetCreatedTime() { return this._createdTime != null; } /// /// Gets and sets the property DataSource. /// /// The data source of the variable. /// /// public DataSource DataSource { get { return this._dataSource; } set { this._dataSource = value; } } // Check to see if DataSource property is set internal bool IsSetDataSource() { return this._dataSource != null; } /// /// Gets and sets the property DataType. /// /// The data type of the variable. For more information see Variable /// types. /// /// public DataType DataType { get { return this._dataType; } set { this._dataType = value; } } // Check to see if DataType property is set internal bool IsSetDataType() { return this._dataType != null; } /// /// Gets and sets the property DefaultValue. /// /// The default value of the variable. /// /// public string DefaultValue { get { return this._defaultValue; } set { this._defaultValue = value; } } // Check to see if DefaultValue property is set internal bool IsSetDefaultValue() { return this._defaultValue != null; } /// /// Gets and sets the property Description. /// /// The description of the variable. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LastUpdatedTime. /// /// The time when variable was last updated. /// /// [AWSProperty(Min=11, Max=30)] public string LastUpdatedTime { get { return this._lastUpdatedTime; } set { this._lastUpdatedTime = value; } } // Check to see if LastUpdatedTime property is set internal bool IsSetLastUpdatedTime() { return this._lastUpdatedTime != null; } /// /// Gets and sets the property Name. /// /// The name of the variable. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property VariableType. /// /// The variable type of the variable. /// /// /// /// Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY /// | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN /// | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT /// | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY /// | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME /// | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT /// /// public string VariableType { get { return this._variableType; } set { this._variableType = value; } } // Check to see if VariableType property is set internal bool IsSetVariableType() { return this._variableType != null; } } }