/*
* 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 rds-data-2018-08-01.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.RDSDataService.Model
{
///
/// Contains the metadata for a column.
///
public partial class ColumnMetadata
{
private int? _arrayBaseColumnType;
private bool? _isAutoIncrement;
private bool? _isCaseSensitive;
private bool? _isCurrency;
private bool? _isSigned;
private string _label;
private string _name;
private int? _nullable;
private int? _precision;
private int? _scale;
private string _schemaName;
private string _tableName;
private int? _type;
private string _typeName;
///
/// Gets and sets the property ArrayBaseColumnType.
///
/// The type of the column.
///
///
public int ArrayBaseColumnType
{
get { return this._arrayBaseColumnType.GetValueOrDefault(); }
set { this._arrayBaseColumnType = value; }
}
// Check to see if ArrayBaseColumnType property is set
internal bool IsSetArrayBaseColumnType()
{
return this._arrayBaseColumnType.HasValue;
}
///
/// Gets and sets the property IsAutoIncrement.
///
/// A value that indicates whether the column increments automatically.
///
///
public bool IsAutoIncrement
{
get { return this._isAutoIncrement.GetValueOrDefault(); }
set { this._isAutoIncrement = value; }
}
// Check to see if IsAutoIncrement property is set
internal bool IsSetIsAutoIncrement()
{
return this._isAutoIncrement.HasValue;
}
///
/// Gets and sets the property IsCaseSensitive.
///
/// A value that indicates whether the column is case-sensitive.
///
///
public bool IsCaseSensitive
{
get { return this._isCaseSensitive.GetValueOrDefault(); }
set { this._isCaseSensitive = value; }
}
// Check to see if IsCaseSensitive property is set
internal bool IsSetIsCaseSensitive()
{
return this._isCaseSensitive.HasValue;
}
///
/// Gets and sets the property IsCurrency.
///
/// A value that indicates whether the column contains currency values.
///
///
public bool IsCurrency
{
get { return this._isCurrency.GetValueOrDefault(); }
set { this._isCurrency = value; }
}
// Check to see if IsCurrency property is set
internal bool IsSetIsCurrency()
{
return this._isCurrency.HasValue;
}
///
/// Gets and sets the property IsSigned.
///
/// A value that indicates whether an integer column is signed.
///
///
public bool IsSigned
{
get { return this._isSigned.GetValueOrDefault(); }
set { this._isSigned = value; }
}
// Check to see if IsSigned property is set
internal bool IsSetIsSigned()
{
return this._isSigned.HasValue;
}
///
/// Gets and sets the property Label.
///
/// The label for the column.
///
///
public string Label
{
get { return this._label; }
set { this._label = value; }
}
// Check to see if Label property is set
internal bool IsSetLabel()
{
return this._label != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the column.
///
///
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 Nullable.
///
/// A value that indicates whether the column is nullable.
///
///
public int Nullable
{
get { return this._nullable.GetValueOrDefault(); }
set { this._nullable = value; }
}
// Check to see if Nullable property is set
internal bool IsSetNullable()
{
return this._nullable.HasValue;
}
///
/// Gets and sets the property Precision.
///
/// The precision value of a decimal number column.
///
///
public int Precision
{
get { return this._precision.GetValueOrDefault(); }
set { this._precision = value; }
}
// Check to see if Precision property is set
internal bool IsSetPrecision()
{
return this._precision.HasValue;
}
///
/// Gets and sets the property Scale.
///
/// The scale value of a decimal number column.
///
///
public int Scale
{
get { return this._scale.GetValueOrDefault(); }
set { this._scale = value; }
}
// Check to see if Scale property is set
internal bool IsSetScale()
{
return this._scale.HasValue;
}
///
/// Gets and sets the property SchemaName.
///
/// The name of the schema that owns the table that includes the column.
///
///
public string SchemaName
{
get { return this._schemaName; }
set { this._schemaName = value; }
}
// Check to see if SchemaName property is set
internal bool IsSetSchemaName()
{
return this._schemaName != null;
}
///
/// Gets and sets the property TableName.
///
/// The name of the table that includes the column.
///
///
public string TableName
{
get { return this._tableName; }
set { this._tableName = value; }
}
// Check to see if TableName property is set
internal bool IsSetTableName()
{
return this._tableName != null;
}
///
/// Gets and sets the property Type.
///
/// The type of the column.
///
///
public int Type
{
get { return this._type.GetValueOrDefault(); }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type.HasValue;
}
///
/// Gets and sets the property TypeName.
///
/// The database-specific data type of the column.
///
///
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}