Class: TencentCloud::Cfw::V20190904::CreateAddressTemplateRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateAddressTemplateRequest
- Defined in:
- lib/v20190904/models.rb
Overview
CreateAddressTemplate请求参数结构体
Instance Attribute Summary collapse
-
#Detail ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
-
#IpString ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
-
#IpVersion ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
-
#Name ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
-
#ProtocolType ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
-
#Type ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板 6 协议端口模板.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, detail = nil, ipstring = nil, type = nil, protocoltype = nil, ipversion = nil) ⇒ CreateAddressTemplateRequest
constructor
A new instance of CreateAddressTemplateRequest.
Constructor Details
#initialize(name = nil, detail = nil, ipstring = nil, type = nil, protocoltype = nil, ipversion = nil) ⇒ CreateAddressTemplateRequest
Returns a new instance of CreateAddressTemplateRequest.
903 904 905 906 907 908 909 910 |
# File 'lib/v20190904/models.rb', line 903 def initialize(name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil, ipversion=nil) @Name = name @Detail = detail @IpString = ipstring @Type = type @ProtocolType = protocoltype @IpVersion = ipversion end |
Instance Attribute Details
#Detail ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def Detail @Detail end |
#IpString ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def IpString @IpString end |
#IpVersion ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def IpVersion @IpVersion end |
#Name ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def Name @Name end |
#ProtocolType ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def ProtocolType @ProtocolType end |
#Type ⇒ Object
Type为5,域名模板eg:www.qq.com,www.tencent.com 5 域名模板6 协议端口模板
901 902 903 |
# File 'lib/v20190904/models.rb', line 901 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
912 913 914 915 916 917 918 919 |
# File 'lib/v20190904/models.rb', line 912 def deserialize(params) @Name = params['Name'] @Detail = params['Detail'] @IpString = params['IpString'] @Type = params['Type'] @ProtocolType = params['ProtocolType'] @IpVersion = params['IpVersion'] end |