Class: TencentCloud::Cwp::V20180228::AssetWebLocationBaseInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::AssetWebLocationBaseInfo
- Defined in:
- lib/v20180228/models.rb
Overview
资产管理Web站点列表信息
Instance Attribute Summary collapse
- #FirstTime ⇒ Object
- #Id ⇒ Object
- #IsNew ⇒ Object
- #MachineExtraInfo ⇒ Object
- #MachineIp ⇒ Object
- #MachineName ⇒ Object
- #MachineWanIp ⇒ Object
- #MainPath ⇒ Object
- #MainPathOwner ⇒ Object
- #Name ⇒ Object
- #OsInfo ⇒ Object
- #PathCount ⇒ Object
- #Permission ⇒ Object
- #Port ⇒ Object
- #ProjectId ⇒ Object
- #Proto ⇒ Object
- #Quuid ⇒ Object
- #ServiceType ⇒ Object
- #Tag ⇒ Object
- #UpdateTime ⇒ Object
- #User ⇒ Object
- #Uuid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(uuid = nil, quuid = nil, machineip = nil, machinewanip = nil, machinename = nil, osinfo = nil, name = nil, port = nil, proto = nil, servicetype = nil, pathcount = nil, user = nil, mainpath = nil, mainpathowner = nil, permission = nil, projectid = nil, tag = nil, id = nil, updatetime = nil, firsttime = nil, isnew = nil, machineextrainfo = nil) ⇒ AssetWebLocationBaseInfo
constructor
A new instance of AssetWebLocationBaseInfo.
Constructor Details
#initialize(uuid = nil, quuid = nil, machineip = nil, machinewanip = nil, machinename = nil, osinfo = nil, name = nil, port = nil, proto = nil, servicetype = nil, pathcount = nil, user = nil, mainpath = nil, mainpathowner = nil, permission = nil, projectid = nil, tag = nil, id = nil, updatetime = nil, firsttime = nil, isnew = nil, machineextrainfo = nil) ⇒ AssetWebLocationBaseInfo
Returns a new instance of AssetWebLocationBaseInfo.
2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 |
# File 'lib/v20180228/models.rb', line 2452 def initialize(uuid=nil, quuid=nil, machineip=nil, machinewanip=nil, machinename=nil, osinfo=nil, name=nil, port=nil, proto=nil, servicetype=nil, pathcount=nil, user=nil, mainpath=nil, mainpathowner=nil, =nil, projectid=nil, tag=nil, id=nil, updatetime=nil, firsttime=nil, isnew=nil, machineextrainfo=nil) @Uuid = uuid @Quuid = quuid @MachineIp = machineip @MachineWanIp = machinewanip @MachineName = machinename @OsInfo = osinfo @Name = name @Port = port @Proto = proto @ServiceType = servicetype @PathCount = pathcount @User = user @MainPath = mainpath @MainPathOwner = mainpathowner @Permission = @ProjectId = projectid @Tag = tag @Id = id @UpdateTime = updatetime @FirstTime = firsttime @IsNew = isnew @MachineExtraInfo = machineextrainfo end |
Instance Attribute Details
#FirstTime ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def FirstTime @FirstTime end |
#Id ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Id @Id end |
#IsNew ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def IsNew @IsNew end |
#MachineExtraInfo ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MachineExtraInfo @MachineExtraInfo end |
#MachineIp ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MachineIp @MachineIp end |
#MachineName ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MachineName @MachineName end |
#MachineWanIp ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MachineWanIp @MachineWanIp end |
#MainPath ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MainPath @MainPath end |
#MainPathOwner ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def MainPathOwner @MainPathOwner end |
#Name ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Name @Name end |
#OsInfo ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def OsInfo @OsInfo end |
#PathCount ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def PathCount @PathCount end |
#Permission ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Permission @Permission end |
#Port ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Port @Port end |
#ProjectId ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def ProjectId @ProjectId end |
#Proto ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Proto @Proto end |
#Quuid ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Quuid @Quuid end |
#ServiceType ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def ServiceType @ServiceType end |
#Tag ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Tag @Tag end |
#UpdateTime ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def UpdateTime @UpdateTime end |
#User ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def User @User end |
#Uuid ⇒ Object
2450 2451 2452 |
# File 'lib/v20180228/models.rb', line 2450 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 |
# File 'lib/v20180228/models.rb', line 2477 def deserialize(params) @Uuid = params['Uuid'] @Quuid = params['Quuid'] @MachineIp = params['MachineIp'] @MachineWanIp = params['MachineWanIp'] @MachineName = params['MachineName'] @OsInfo = params['OsInfo'] @Name = params['Name'] @Port = params['Port'] @Proto = params['Proto'] @ServiceType = params['ServiceType'] @PathCount = params['PathCount'] @User = params['User'] @MainPath = params['MainPath'] @MainPathOwner = params['MainPathOwner'] @Permission = params['Permission'] @ProjectId = params['ProjectId'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| machinetag_tmp = MachineTag.new machinetag_tmp.deserialize(i) @Tag << machinetag_tmp end end @Id = params['Id'] @UpdateTime = params['UpdateTime'] @FirstTime = params['FirstTime'] @IsNew = params['IsNew'] unless params['MachineExtraInfo'].nil? @MachineExtraInfo = MachineExtraInfo.new @MachineExtraInfo.deserialize(params['MachineExtraInfo']) end end |