Class: TencentCloud::Cloudhsm::V20191112::SgUnit
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::SgUnit
- Defined in:
- lib/v20191112/models.rb
Overview
安全组基础信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sgid = nil, sgname = nil, sgremark = nil, createtime = nil) ⇒ SgUnit
constructor
A new instance of SgUnit.
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
#CreateTime ⇒ Object
1055 1056 1057 |
# File 'lib/v20191112/models.rb', line 1055 def CreateTime @CreateTime end |
#SgId ⇒ Object
1055 1056 1057 |
# File 'lib/v20191112/models.rb', line 1055 def SgId @SgId end |
#SgName ⇒ Object
1055 1056 1057 |
# File 'lib/v20191112/models.rb', line 1055 def SgName @SgName end |
#SgRemark ⇒ Object
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 |