Class: TencentCloud::Waf::V20180125::PortItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::PortItem
- Defined in:
- lib/v20180125/models.rb
Overview
防护域名端口配置信息
Instance Attribute Summary collapse
- #NginxServerId ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #UpstreamPort ⇒ Object
- #UpstreamProtocol ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, protocol = nil, upstreamport = nil, upstreamprotocol = nil, nginxserverid = nil) ⇒ PortItem
constructor
A new instance of PortItem.
Constructor Details
#initialize(port = nil, protocol = nil, upstreamport = nil, upstreamprotocol = nil, nginxserverid = nil) ⇒ PortItem
Returns a new instance of PortItem.
11802 11803 11804 11805 11806 11807 11808 |
# File 'lib/v20180125/models.rb', line 11802 def initialize(port=nil, protocol=nil, upstreamport=nil, upstreamprotocol=nil, nginxserverid=nil) @Port = port @Protocol = protocol @UpstreamPort = upstreamport @UpstreamProtocol = upstreamprotocol @NginxServerId = nginxserverid end |
Instance Attribute Details
#NginxServerId ⇒ Object
11800 11801 11802 |
# File 'lib/v20180125/models.rb', line 11800 def NginxServerId @NginxServerId end |
#Port ⇒ Object
11800 11801 11802 |
# File 'lib/v20180125/models.rb', line 11800 def Port @Port end |
#Protocol ⇒ Object
11800 11801 11802 |
# File 'lib/v20180125/models.rb', line 11800 def Protocol @Protocol end |
#UpstreamPort ⇒ Object
11800 11801 11802 |
# File 'lib/v20180125/models.rb', line 11800 def UpstreamPort @UpstreamPort end |
#UpstreamProtocol ⇒ Object
11800 11801 11802 |
# File 'lib/v20180125/models.rb', line 11800 def UpstreamProtocol @UpstreamProtocol end |
Instance Method Details
#deserialize(params) ⇒ Object
11810 11811 11812 11813 11814 11815 11816 |
# File 'lib/v20180125/models.rb', line 11810 def deserialize(params) @Port = params['Port'] @Protocol = params['Protocol'] @UpstreamPort = params['UpstreamPort'] @UpstreamProtocol = params['UpstreamProtocol'] @NginxServerId = params['NginxServerId'] end |