Class: TencentCloud::Chdfs::V20201112::AccessGroup

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

Overview

权限组

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accessgroupid = nil, accessgroupname = nil, description = nil, createtime = nil, vpctype = nil, vpcid = nil) ⇒ AccessGroup

Returns a new instance of AccessGroup.



37
38
39
40
41
42
43
44
# File 'lib/v20201112/models.rb', line 37

def initialize(accessgroupid=nil, accessgroupname=nil, description=nil, createtime=nil, vpctype=nil, vpcid=nil)
  @AccessGroupId = accessgroupid
  @AccessGroupName = accessgroupname
  @Description = description
  @CreateTime = createtime
  @VpcType = vpctype
  @VpcId = vpcid
end

Instance Attribute Details

#AccessGroupIdObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def AccessGroupId
  @AccessGroupId
end

#AccessGroupNameObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def AccessGroupName
  @AccessGroupName
end

#CreateTimeObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def CreateTime
  @CreateTime
end

#DescriptionObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def Description
  @Description
end

#VpcIdObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def VpcId
  @VpcId
end

#VpcTypeObject

Parameters:

  • AccessGroupId:

    权限组ID

  • AccessGroupName:

    权限组名称

  • Description:

    权限组描述

  • CreateTime:

    创建时间

  • VpcType:

    VPC网络类型(1:CVM)

  • VpcId:

    VPC网络ID



35
36
37
# File 'lib/v20201112/models.rb', line 35

def VpcType
  @VpcType
end

Instance Method Details

#deserialize(params) ⇒ Object



46
47
48
49
50
51
52
53
# File 'lib/v20201112/models.rb', line 46

def deserialize(params)
  @AccessGroupId = params['AccessGroupId']
  @AccessGroupName = params['AccessGroupName']
  @Description = params['Description']
  @CreateTime = params['CreateTime']
  @VpcType = params['VpcType']
  @VpcId = params['VpcId']
end