Class: TencentCloud::Dayu::V20180709::DescribeSchedulingDomainListResponse

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

Overview

DescribeSchedulingDomainList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, domainlist = nil, requestid = nil) ⇒ DescribeSchedulingDomainListResponse

Returns a new instance of DescribeSchedulingDomainListResponse.



5574
5575
5576
5577
5578
# File 'lib/v20180709/models.rb', line 5574

def initialize(total=nil, domainlist=nil, requestid=nil)
  @Total = total
  @DomainList = domainlist
  @RequestId = requestid
end

Instance Attribute Details

#DomainListObject

Parameters:

  • Total:

    调度域名总数

  • DomainList:

    调度域名列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



5572
5573
5574
# File 'lib/v20180709/models.rb', line 5572

def DomainList
  @DomainList
end

#RequestIdObject

Parameters:

  • Total:

    调度域名总数

  • DomainList:

    调度域名列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



5572
5573
5574
# File 'lib/v20180709/models.rb', line 5572

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    调度域名总数

  • DomainList:

    调度域名列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



5572
5573
5574
# File 'lib/v20180709/models.rb', line 5572

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
# File 'lib/v20180709/models.rb', line 5580

def deserialize(params)
  @Total = params['Total']
  unless params['DomainList'].nil?
    @DomainList = []
    params['DomainList'].each do |i|
      schedulingdomain_tmp = SchedulingDomain.new
      schedulingdomain_tmp.deserialize(i)
      @DomainList << schedulingdomain_tmp
    end
  end
  @RequestId = params['RequestId']
end