Class: TencentCloud::Weilingwith::V20230427::CustomFieldInfo

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

Overview

自定义字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, key = nil, name = nil, val = nil) ⇒ CustomFieldInfo

Returns a new instance of CustomFieldInfo.



1660
1661
1662
1663
1664
1665
# File 'lib/v20230427/models.rb', line 1660

def initialize(id=nil, key=nil, name=nil, val=nil)
  @Id = id
  @Key = key
  @Name = name
  @Val = val
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    字段id

  • Key:

    字段key

  • Name:

    字段名

  • Val:

    字段值



1658
1659
1660
# File 'lib/v20230427/models.rb', line 1658

def Id
  @Id
end

#KeyObject

Parameters:

  • Id:

    字段id

  • Key:

    字段key

  • Name:

    字段名

  • Val:

    字段值



1658
1659
1660
# File 'lib/v20230427/models.rb', line 1658

def Key
  @Key
end

#NameObject

Parameters:

  • Id:

    字段id

  • Key:

    字段key

  • Name:

    字段名

  • Val:

    字段值



1658
1659
1660
# File 'lib/v20230427/models.rb', line 1658

def Name
  @Name
end

#ValObject

Parameters:

  • Id:

    字段id

  • Key:

    字段key

  • Name:

    字段名

  • Val:

    字段值



1658
1659
1660
# File 'lib/v20230427/models.rb', line 1658

def Val
  @Val
end

Instance Method Details

#deserialize(params) ⇒ Object



1667
1668
1669
1670
1671
1672
# File 'lib/v20230427/models.rb', line 1667

def deserialize(params)
  @Id = params['Id']
  @Key = params['Key']
  @Name = params['Name']
  @Val = params['Val']
end