Class: TencentCloud::Teo::V20220901::VanityNameServersIps

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

Overview

自定义名字服务器 IP 信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, ipv4 = nil) ⇒ VanityNameServersIps

Returns a new instance of VanityNameServersIps.



22831
22832
22833
22834
# File 'lib/v20220901/models.rb', line 22831

def initialize(name=nil, ipv4=nil)
  @Name = name
  @IPv4 = ipv4
end

Instance Attribute Details

#IPv4Object

Parameters:

  • Name:

    自定义名字服务器名称。

  • IPv4:

    自定义名字服务器 IPv4 地址。



22829
22830
22831
# File 'lib/v20220901/models.rb', line 22829

def IPv4
  @IPv4
end

#NameObject

Parameters:

  • Name:

    自定义名字服务器名称。

  • IPv4:

    自定义名字服务器 IPv4 地址。



22829
22830
22831
# File 'lib/v20220901/models.rb', line 22829

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



22836
22837
22838
22839
# File 'lib/v20220901/models.rb', line 22836

def deserialize(params)
  @Name = params['Name']
  @IPv4 = params['IPv4']
end