Class: TencentCloud::Cfw::V20190904::ModifyAddressTemplateRequest

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

Overview

ModifyAddressTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uuid = nil, name = nil, detail = nil, ipstring = nil, type = nil, protocoltype = nil) ⇒ ModifyAddressTemplateRequest

Returns a new instance of ModifyAddressTemplateRequest.



6246
6247
6248
6249
6250
6251
6252
6253
# File 'lib/v20190904/models.rb', line 6246

def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil)
  @Uuid = uuid
  @Name = name
  @Detail = detail
  @IpString = ipstring
  @Type = type
  @ProtocolType = protocoltype
end

Instance Attribute Details

#DetailObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def Detail
  @Detail
end

#IpStringObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def IpString
  @IpString
end

#NameObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def Name
  @Name
end

#ProtocolTypeObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def ProtocolType
  @ProtocolType
end

#TypeObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def Type
  @Type
end

#UuidObject

Type为5,域名模板eg:www.qq.com,www.tencent.com

Parameters:

  • Uuid:

    地址模板唯一Id

  • Name:

    模板名称

  • Detail:

    模板描述

  • IpString:

    Type为1,ip模板eg:1.1.1.1,2.2.2.2;

  • Type:

    1 ip模板 5 域名模板

  • ProtocolType:

    协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。



6244
6245
6246
# File 'lib/v20190904/models.rb', line 6244

def Uuid
  @Uuid
end

Instance Method Details

#deserialize(params) ⇒ Object



6255
6256
6257
6258
6259
6260
6261
6262
# File 'lib/v20190904/models.rb', line 6255

def deserialize(params)
  @Uuid = params['Uuid']
  @Name = params['Name']
  @Detail = params['Detail']
  @IpString = params['IpString']
  @Type = params['Type']
  @ProtocolType = params['ProtocolType']
end