Class: TencentCloud::Wedata::V20210820::FunctionVersion

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

Overview

函数提交版本信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag = nil, userid = nil, type = nil, comment = nil, timestamp = nil, username = nil, content = nil) ⇒ FunctionVersion

Returns a new instance of FunctionVersion.



20584
20585
20586
20587
20588
20589
20590
20591
20592
# File 'lib/v20210820/models.rb', line 20584

def initialize(tag=nil, userid=nil, type=nil, comment=nil, timestamp=nil, username=nil, content=nil)
  @Tag = tag
  @UserId = userid
  @Type = type
  @Comment = comment
  @Timestamp = timestamp
  @UserName = username
  @Content = content
end

Instance Attribute Details

#CommentObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def Comment
  @Comment
end

#ContentObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def Content
  @Content
end

#TagObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def Tag
  @Tag
end

#TimestampObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def Timestamp
  @Timestamp
end

#TypeObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def Type
  @Type
end

#UserIdObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def UserId
  @UserId
end

#UserNameObject

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

Parameters:

  • Tag:

    版本号:V0 V1 V2

  • UserId:

    提交人 ID

  • Type:

    变更类型:ADD、MODIFY

  • Comment:

    备注

  • Timestamp:

    提交时间: UTC 秒数

  • UserName:

    提交人名称

  • Content:

    版本内容:json string 格式



20582
20583
20584
# File 'lib/v20210820/models.rb', line 20582

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



20594
20595
20596
20597
20598
20599
20600
20601
20602
# File 'lib/v20210820/models.rb', line 20594

def deserialize(params)
  @Tag = params['Tag']
  @UserId = params['UserId']
  @Type = params['Type']
  @Comment = params['Comment']
  @Timestamp = params['Timestamp']
  @UserName = params['UserName']
  @Content = params['Content']
end