Class: TencentCloud::Cwp::V20180228::AssetJarDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::AssetJarDetail
- Defined in:
- lib/v20180228/models.rb
Overview
资产管理jar包详情
Instance Attribute Summary collapse
- #MachineIp ⇒ Object
- #MachineName ⇒ Object
- #Md5 ⇒ Object
- #Name ⇒ Object
- #OsInfo ⇒ Object
- #Path ⇒ Object
- #Process ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
- #UpdateTime ⇒ Object
- #Version ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, status = nil, version = nil, path = nil, machineip = nil, machinename = nil, osinfo = nil, process = nil, md5 = nil, updatetime = nil) ⇒ AssetJarDetail
constructor
A new instance of AssetJarDetail.
Constructor Details
#initialize(name = nil, type = nil, status = nil, version = nil, path = nil, machineip = nil, machinename = nil, osinfo = nil, process = nil, md5 = nil, updatetime = nil) ⇒ AssetJarDetail
Returns a new instance of AssetJarDetail.
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20180228/models.rb', line 1002 def initialize(name=nil, type=nil, status=nil, version=nil, path=nil, machineip=nil, machinename=nil, osinfo=nil, process=nil, md5=nil, updatetime=nil) @Name = name @Type = type @Status = status @Version = version @Path = path @MachineIp = machineip @MachineName = machinename @OsInfo = osinfo @Process = process @Md5 = md5 @UpdateTime = updatetime end |
Instance Attribute Details
#MachineIp ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def MachineIp @MachineIp end |
#MachineName ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def MachineName @MachineName end |
#Md5 ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Md5 @Md5 end |
#Name ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Name @Name end |
#OsInfo ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def OsInfo @OsInfo end |
#Path ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Path @Path end |
#Process ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Process @Process end |
#Status ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Status @Status end |
#Type ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Type @Type end |
#UpdateTime ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def UpdateTime @UpdateTime end |
#Version ⇒ Object
1000 1001 1002 |
# File 'lib/v20180228/models.rb', line 1000 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'lib/v20180228/models.rb', line 1016 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Status = params['Status'] @Version = params['Version'] @Path = params['Path'] @MachineIp = params['MachineIp'] @MachineName = params['MachineName'] @OsInfo = params['OsInfo'] unless params['Process'].nil? @Process = [] params['Process'].each do |i| assetappprocessinfo_tmp = AssetAppProcessInfo.new assetappprocessinfo_tmp.deserialize(i) @Process << assetappprocessinfo_tmp end end @Md5 = params['Md5'] @UpdateTime = params['UpdateTime'] end |