Class: TencentCloud::Weilingwith::V20230427::DescribeGroupInfo

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, name = nil, description = nil, parentid = nil) ⇒ DescribeGroupInfo

Returns a new instance of DescribeGroupInfo.



3484
3485
3486
3487
3488
3489
# File 'lib/v20230427/models.rb', line 3484

def initialize(id=nil, name=nil, description=nil, parentid=nil)
  @Id = id
  @Name = name
  @Description = description
  @ParentId = parentid
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • Id:

    分组

  • Name:

    设备分组名称

  • Description:

    分组描述

  • ParentId:

    分组父级ID



3482
3483
3484
# File 'lib/v20230427/models.rb', line 3482

def Description
  @Description
end

#IdObject

Parameters:

  • Id:

    分组

  • Name:

    设备分组名称

  • Description:

    分组描述

  • ParentId:

    分组父级ID



3482
3483
3484
# File 'lib/v20230427/models.rb', line 3482

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    分组

  • Name:

    设备分组名称

  • Description:

    分组描述

  • ParentId:

    分组父级ID



3482
3483
3484
# File 'lib/v20230427/models.rb', line 3482

def Name
  @Name
end

#ParentIdObject

Parameters:

  • Id:

    分组

  • Name:

    设备分组名称

  • Description:

    分组描述

  • ParentId:

    分组父级ID



3482
3483
3484
# File 'lib/v20230427/models.rb', line 3482

def ParentId
  @ParentId
end

Instance Method Details

#deserialize(params) ⇒ Object



3491
3492
3493
3494
3495
3496
# File 'lib/v20230427/models.rb', line 3491

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