Class: TencentCloud::Cwp::V20180228::AssetNetworkCardInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

资产管理网卡信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, ip = nil, gateway = nil, mac = nil, ipv6 = nil, dnsserver = nil) ⇒ AssetNetworkCardInfo

Returns a new instance of AssetNetworkCardInfo.



1436
1437
1438
1439
1440
1441
1442
1443
# File 'lib/v20180228/models.rb', line 1436

def initialize(name=nil, ip=nil, gateway=nil, mac=nil, ipv6=nil, dnsserver=nil)
  @Name = name
  @Ip = ip
  @GateWay = gateway
  @Mac = mac
  @Ipv6 = ipv6
  @DnsServer = dnsserver
end

Instance Attribute Details

#DnsServerObject

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def DnsServer
  @DnsServer
end

#GateWayObject

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def GateWay
  @GateWay
end

#IpObject

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def Ip
  @Ip
end

#Ipv6Object

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def Ipv6
  @Ipv6
end

#MacObject

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def Mac
  @Mac
end

#NameObject

Parameters:

  • Name:

    网卡名称

  • Ip:

    Ipv4对应IP

  • GateWay:

    网关

  • Mac:

    MAC地址

  • Ipv6:

    Ipv6对应IP

  • DnsServer:

    DNS服务器



1434
1435
1436
# File 'lib/v20180228/models.rb', line 1434

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1445
1446
1447
1448
1449
1450
1451
1452
# File 'lib/v20180228/models.rb', line 1445

def deserialize(params)
  @Name = params['Name']
  @Ip = params['Ip']
  @GateWay = params['GateWay']
  @Mac = params['Mac']
  @Ipv6 = params['Ipv6']
  @DnsServer = params['DnsServer']
end