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



1071
1072
1073
1074
1075
1076
# File 'lib/v20191112/models.rb', line 1071

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

Instance Attribute Details

#CreateTimeObject



1069
1070
1071
# File 'lib/v20191112/models.rb', line 1069

def CreateTime
  @CreateTime
end

#SgIdObject



1069
1070
1071
# File 'lib/v20191112/models.rb', line 1069

def SgId
  @SgId
end

#SgNameObject



1069
1070
1071
# File 'lib/v20191112/models.rb', line 1069

def SgName
  @SgName
end

#SgRemarkObject



1069
1070
1071
# File 'lib/v20191112/models.rb', line 1069

def SgRemark
  @SgRemark
end

Instance Method Details

#deserialize(params) ⇒ Object



1078
1079
1080
1081
1082
1083
# File 'lib/v20191112/models.rb', line 1078

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