Class: TencentCloud::Dlc::V20210125::TColumn
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::TColumn
- Defined in:
- lib/v20210125/models.rb
Overview
表字段描述信息
Instance Attribute Summary collapse
-
#Comment ⇒ Object
Scale小于Precision.
-
#Default ⇒ Object
Scale小于Precision.
-
#IsPartition ⇒ Object
Scale小于Precision.
-
#Name ⇒ Object
Scale小于Precision.
-
#NotNull ⇒ Object
Scale小于Precision.
-
#Position ⇒ Object
Scale小于Precision.
-
#Precision ⇒ Object
Scale小于Precision.
-
#Scale ⇒ Object
Scale小于Precision.
-
#Type ⇒ Object
Scale小于Precision.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, comment = nil, default = nil, notnull = nil, precision = nil, scale = nil, position = nil, ispartition = nil) ⇒ TColumn
constructor
A new instance of TColumn.
Constructor Details
#initialize(name = nil, type = nil, comment = nil, default = nil, notnull = nil, precision = nil, scale = nil, position = nil, ispartition = nil) ⇒ TColumn
Returns a new instance of TColumn.
15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 |
# File 'lib/v20210125/models.rb', line 15268 def initialize(name=nil, type=nil, comment=nil, default=nil, notnull=nil, precision=nil, scale=nil, position=nil, ispartition=nil) @Name = name @Type = type @Comment = comment @Default = default @NotNull = notnull @Precision = precision @Scale = scale @Position = position @IsPartition = ispartition end |
Instance Attribute Details
#Comment ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Comment @Comment end |
#Default ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Default @Default end |
#IsPartition ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def IsPartition @IsPartition end |
#Name ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Name @Name end |
#NotNull ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def NotNull @NotNull end |
#Position ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Position @Position end |
#Precision ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Precision @Precision end |
#Scale ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Scale @Scale end |
#Type ⇒ Object
Scale小于Precision
15266 15267 15268 |
# File 'lib/v20210125/models.rb', line 15266 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 |
# File 'lib/v20210125/models.rb', line 15280 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Comment = params['Comment'] @Default = params['Default'] @NotNull = params['NotNull'] @Precision = params['Precision'] @Scale = params['Scale'] @Position = params['Position'] @IsPartition = params['IsPartition'] end |