Class: TencentCloud::Clb::V20180317::DescribeCrossTargetsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeCrossTargetsResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeCrossTargets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, crosstargetset = nil, requestid = nil) ⇒ DescribeCrossTargetsResponse
constructor
A new instance of DescribeCrossTargetsResponse.
Constructor Details
#initialize(totalcount = nil, crosstargetset = nil, requestid = nil) ⇒ DescribeCrossTargetsResponse
Returns a new instance of DescribeCrossTargetsResponse.
2902 2903 2904 2905 2906 |
# File 'lib/v20180317/models.rb', line 2902 def initialize(totalcount=nil, crosstargetset=nil, requestid=nil) @TotalCount = totalcount @CrossTargetSet = crosstargetset @RequestId = requestid end |
Instance Attribute Details
#CrossTargetSet ⇒ Object
2900 2901 2902 |
# File 'lib/v20180317/models.rb', line 2900 def CrossTargetSet @CrossTargetSet end |
#RequestId ⇒ Object
2900 2901 2902 |
# File 'lib/v20180317/models.rb', line 2900 def RequestId @RequestId end |
#TotalCount ⇒ Object
2900 2901 2902 |
# File 'lib/v20180317/models.rb', line 2900 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 |
# File 'lib/v20180317/models.rb', line 2908 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CrossTargetSet'].nil? @CrossTargetSet = [] params['CrossTargetSet'].each do |i| crosstargets_tmp = CrossTargets.new crosstargets_tmp.deserialize(i) @CrossTargetSet << crosstargets_tmp end end @RequestId = params['RequestId'] end |