Class: TencentCloud::Oceanus::V20190422::ResultColumn

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190422/models.rb

Overview

Sql Gateway返回Column类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, logicaltype = nil, comment = nil) ⇒ ResultColumn

Returns a new instance of ResultColumn.



4912
4913
4914
4915
4916
# File 'lib/v20190422/models.rb', line 4912

def initialize(name=nil, logicaltype=nil, comment=nil)
  @Name = name
  @LogicalType = logicaltype
  @Comment = comment
end

Instance Attribute Details

#CommentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名称

  • LogicalType:

    本地类型描述

  • Comment:

    备注



4910
4911
4912
# File 'lib/v20190422/models.rb', line 4910

def Comment
  @Comment
end

#LogicalTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名称

  • LogicalType:

    本地类型描述

  • Comment:

    备注



4910
4911
4912
# File 'lib/v20190422/models.rb', line 4910

def LogicalType
  @LogicalType
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    名称

  • LogicalType:

    本地类型描述

  • Comment:

    备注



4910
4911
4912
# File 'lib/v20190422/models.rb', line 4910

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



4918
4919
4920
4921
4922
4923
4924
4925
# File 'lib/v20190422/models.rb', line 4918

def deserialize(params)
  @Name = params['Name']
  unless params['LogicalType'].nil?
    @LogicalType = LogicalType.new
    @LogicalType.deserialize(params['LogicalType'])
  end
  @Comment = params['Comment']
end