Class: TencentCloud::Bh::V20230418::DescribeDomainsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::DescribeDomainsResponse
- Defined in:
- lib/v20230418/models.rb
Overview
DescribeDomains返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, domainset = nil, requestid = nil) ⇒ DescribeDomainsResponse
constructor
A new instance of DescribeDomainsResponse.
Constructor Details
#initialize(totalcount = nil, domainset = nil, requestid = nil) ⇒ DescribeDomainsResponse
Returns a new instance of DescribeDomainsResponse.
3099 3100 3101 3102 3103 |
# File 'lib/v20230418/models.rb', line 3099 def initialize(totalcount=nil, domainset=nil, requestid=nil) @TotalCount = totalcount @DomainSet = domainset @RequestId = requestid end |
Instance Attribute Details
#DomainSet ⇒ Object
3097 3098 3099 |
# File 'lib/v20230418/models.rb', line 3097 def DomainSet @DomainSet end |
#RequestId ⇒ Object
3097 3098 3099 |
# File 'lib/v20230418/models.rb', line 3097 def RequestId @RequestId end |
#TotalCount ⇒ Object
3097 3098 3099 |
# File 'lib/v20230418/models.rb', line 3097 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/v20230418/models.rb', line 3105 def deserialize(params) @TotalCount = params['TotalCount'] unless params['DomainSet'].nil? @DomainSet = [] params['DomainSet'].each do |i| domain_tmp = Domain.new domain_tmp.deserialize(i) @DomainSet << domain_tmp end end @RequestId = params['RequestId'] end |