Class: TencentCloud::Cloudhsm::V20191112::SgUnit

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

Overview

安全组基础信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sgid = nil, sgname = nil, sgremark = nil, createtime = nil) ⇒ SgUnit

Returns a new instance of SgUnit.



1057
1058
1059
1060
1061
1062
# File 'lib/v20191112/models.rb', line 1057

def initialize(sgid=nil, sgname=nil, sgremark=nil, createtime=nil)
  @SgId = sgid
  @SgName = sgname
  @SgRemark = sgremark
  @CreateTime = createtime
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • SgId:

    安全组Id

  • SgName:

    安全组名称

  • SgRemark:

    备注

  • CreateTime:

    创建时间



1055
1056
1057
# File 'lib/v20191112/models.rb', line 1055

def CreateTime
  @CreateTime
end

#SgIdObject

Parameters:

  • SgId:

    安全组Id

  • SgName:

    安全组名称

  • SgRemark:

    备注

  • CreateTime:

    创建时间



1055
1056
1057
# File 'lib/v20191112/models.rb', line 1055

def SgId
  @SgId
end

#SgNameObject

Parameters:

  • SgId:

    安全组Id

  • SgName:

    安全组名称

  • SgRemark:

    备注

  • CreateTime:

    创建时间



1055
1056
1057
# File 'lib/v20191112/models.rb', line 1055

def SgName
  @SgName
end

#SgRemarkObject

Parameters:

  • SgId:

    安全组Id

  • SgName:

    安全组名称

  • SgRemark:

    备注

  • CreateTime:

    创建时间



1055
1056
1057
# File 'lib/v20191112/models.rb', line 1055

def SgRemark
  @SgRemark
end

Instance Method Details

#deserialize(params) ⇒ Object



1064
1065
1066
1067
1068
1069
# File 'lib/v20191112/models.rb', line 1064

def deserialize(params)
  @SgId = params['SgId']
  @SgName = params['SgName']
  @SgRemark = params['SgRemark']
  @CreateTime = params['CreateTime']
end