Class: TencentCloud::Waf::V20180125::DescribePortsResponse

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

Overview

DescribePorts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(httpports = nil, httpsports = nil, requestid = nil) ⇒ DescribePortsResponse

Returns a new instance of DescribePortsResponse.



6109
6110
6111
6112
6113
# File 'lib/v20180125/models.rb', line 6109

def initialize(httpports=nil, httpsports=nil, requestid=nil)
  @HttpPorts = httpports
  @HttpsPorts = httpsports
  @RequestId = requestid
end

Instance Attribute Details

#HttpPortsObject

Parameters:

  • HttpPorts:

    http端口列表

  • HttpsPorts:

    https端口列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6107
6108
6109
# File 'lib/v20180125/models.rb', line 6107

def HttpPorts
  @HttpPorts
end

#HttpsPortsObject

Parameters:

  • HttpPorts:

    http端口列表

  • HttpsPorts:

    https端口列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6107
6108
6109
# File 'lib/v20180125/models.rb', line 6107

def HttpsPorts
  @HttpsPorts
end

#RequestIdObject

Parameters:

  • HttpPorts:

    http端口列表

  • HttpsPorts:

    https端口列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6107
6108
6109
# File 'lib/v20180125/models.rb', line 6107

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



6115
6116
6117
6118
6119
# File 'lib/v20180125/models.rb', line 6115

def deserialize(params)
  @HttpPorts = params['HttpPorts']
  @HttpsPorts = params['HttpsPorts']
  @RequestId = params['RequestId']
end