Class: TencentCloud::Dasb::V20191018::Device
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::Device
- Defined in:
- lib/v20191018/models.rb
Overview
资产信息
Instance Attribute Summary collapse
- #AccountCount ⇒ Object
- #ApCode ⇒ Object
- #Department ⇒ Object
- #DomainId ⇒ Object
- #DomainName ⇒ Object
- #EnableSSL ⇒ Object
- #GroupSet ⇒ Object
- #Id ⇒ Object
- #InstanceId ⇒ Object
- #IpPortSet ⇒ Object
- #Kind ⇒ Object
- #Name ⇒ Object
- #OsName ⇒ Object
- #Port ⇒ Object
- #PrivateIp ⇒ Object
- #PublicIp ⇒ Object
- #Resource ⇒ Object
- #SSLCertName ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, instanceid = nil, name = nil, publicip = nil, privateip = nil, apcode = nil, osname = nil, kind = nil, port = nil, groupset = nil, accountcount = nil, vpcid = nil, subnetid = nil, resource = nil, department = nil, ipportset = nil, domainid = nil, domainname = nil, enablessl = nil, sslcertname = nil) ⇒ Device
constructor
A new instance of Device.
Constructor Details
#initialize(id = nil, instanceid = nil, name = nil, publicip = nil, privateip = nil, apcode = nil, osname = nil, kind = nil, port = nil, groupset = nil, accountcount = nil, vpcid = nil, subnetid = nil, resource = nil, department = nil, ipportset = nil, domainid = nil, domainname = nil, enablessl = nil, sslcertname = nil) ⇒ Device
Returns a new instance of Device.
3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 |
# File 'lib/v20191018/models.rb', line 3055 def initialize(id=nil, instanceid=nil, name=nil, publicip=nil, privateip=nil, apcode=nil, osname=nil, kind=nil, port=nil, groupset=nil, accountcount=nil, vpcid=nil, subnetid=nil, resource=nil, department=nil, ipportset=nil, domainid=nil, domainname=nil, enablessl=nil, sslcertname=nil) @Id = id @InstanceId = instanceid @Name = name @PublicIp = publicip @PrivateIp = privateip @ApCode = apcode @OsName = osname @Kind = kind @Port = port @GroupSet = groupset @AccountCount = accountcount @VpcId = vpcid @SubnetId = subnetid @Resource = resource @Department = department @IpPortSet = ipportset @DomainId = domainid @DomainName = domainname @EnableSSL = enablessl @SSLCertName = sslcertname end |
Instance Attribute Details
#AccountCount ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def AccountCount @AccountCount end |
#ApCode ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def ApCode @ApCode end |
#Department ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Department @Department end |
#DomainId ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def DomainId @DomainId end |
#DomainName ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def DomainName @DomainName end |
#EnableSSL ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def EnableSSL @EnableSSL end |
#GroupSet ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def GroupSet @GroupSet end |
#Id ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Id @Id end |
#InstanceId ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def InstanceId @InstanceId end |
#IpPortSet ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def IpPortSet @IpPortSet end |
#Kind ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Kind @Kind end |
#Name ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Name @Name end |
#OsName ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def OsName @OsName end |
#Port ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Port @Port end |
#PrivateIp ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def PrivateIp @PrivateIp end |
#PublicIp ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def PublicIp @PublicIp end |
#Resource ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def Resource @Resource end |
#SSLCertName ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def SSLCertName @SSLCertName end |
#SubnetId ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def SubnetId @SubnetId end |
#VpcId ⇒ Object
3053 3054 3055 |
# File 'lib/v20191018/models.rb', line 3053 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 |
# File 'lib/v20191018/models.rb', line 3078 def deserialize(params) @Id = params['Id'] @InstanceId = params['InstanceId'] @Name = params['Name'] @PublicIp = params['PublicIp'] @PrivateIp = params['PrivateIp'] @ApCode = params['ApCode'] @OsName = params['OsName'] @Kind = params['Kind'] @Port = params['Port'] unless params['GroupSet'].nil? @GroupSet = [] params['GroupSet'].each do |i| group_tmp = Group.new group_tmp.deserialize(i) @GroupSet << group_tmp end end @AccountCount = params['AccountCount'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] unless params['Resource'].nil? @Resource = Resource.new @Resource.deserialize(params['Resource']) end unless params['Department'].nil? @Department = Department.new @Department.deserialize(params['Department']) end @IpPortSet = params['IpPortSet'] @DomainId = params['DomainId'] @DomainName = params['DomainName'] @EnableSSL = params['EnableSSL'] @SSLCertName = params['SSLCertName'] end |