Class: TencentCloud::Dbbrain::V20210527::GroupItem

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

Overview

描述组信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, membercount = nil) ⇒ GroupItem

Returns a new instance of GroupItem.



5296
5297
5298
5299
5300
# File 'lib/v20210527/models.rb', line 5296

def initialize(id=nil, name=nil, membercount=nil)
  @Id = id
  @Name = name
  @MemberCount = membercount
end

Instance Attribute Details

#IdObject

Parameters:

  • 组id。

  • 组名称。

  • 组成员数量。



5294
5295
5296
# File 'lib/v20210527/models.rb', line 5294

def Id
  @Id
end

#MemberCountObject

Parameters:

  • 组id。

  • 组名称。

  • 组成员数量。



5294
5295
5296
# File 'lib/v20210527/models.rb', line 5294

def MemberCount
  @MemberCount
end

#NameObject

Parameters:

  • 组id。

  • 组名称。

  • 组成员数量。



5294
5295
5296
# File 'lib/v20210527/models.rb', line 5294

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



5302
5303
5304
5305
5306
# File 'lib/v20210527/models.rb', line 5302

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