Class: TencentCloud::Waf::V20180125::DescribeObjectsResponse

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

Overview

DescribeObjects返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clbobjects = nil, requestid = nil) ⇒ DescribeObjectsResponse

Returns a new instance of DescribeObjectsResponse.



5864
5865
5866
5867
# File 'lib/v20180125/models.rb', line 5864

def initialize(clbobjects=nil, requestid=nil)
  @ClbObjects = clbobjects
  @RequestId = requestid
end

Instance Attribute Details

#ClbObjectsObject

Parameters:

  • ClbObjects:

    对象列表

  • RequestId:

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



5862
5863
5864
# File 'lib/v20180125/models.rb', line 5862

def ClbObjects
  @ClbObjects
end

#RequestIdObject

Parameters:

  • ClbObjects:

    对象列表

  • RequestId:

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



5862
5863
5864
# File 'lib/v20180125/models.rb', line 5862

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
# File 'lib/v20180125/models.rb', line 5869

def deserialize(params)
  unless params['ClbObjects'].nil?
    @ClbObjects = []
    params['ClbObjects'].each do |i|
      clbobject_tmp = ClbObject.new
      clbobject_tmp.deserialize(i)
      @ClbObjects << clbobject_tmp
    end
  end
  @RequestId = params['RequestId']
end