Class: TencentCloud::Postgres::V20170312::DescribeZonesResponse

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

Overview

DescribeZones返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, zoneset = nil, requestid = nil) ⇒ DescribeZonesResponse

Returns a new instance of DescribeZonesResponse.



4580
4581
4582
4583
4584
# File 'lib/v20170312/models.rb', line 4580

def initialize(totalcount=nil, zoneset=nil, requestid=nil)
  @TotalCount = totalcount
  @ZoneSet = zoneset
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    返回的结果数量。

  • ZoneSet:

    可用区信息集合。

  • RequestId:

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



4578
4579
4580
# File 'lib/v20170312/models.rb', line 4578

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    返回的结果数量。

  • ZoneSet:

    可用区信息集合。

  • RequestId:

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



4578
4579
4580
# File 'lib/v20170312/models.rb', line 4578

def TotalCount
  @TotalCount
end

#ZoneSetObject

Parameters:

  • TotalCount:

    返回的结果数量。

  • ZoneSet:

    可用区信息集合。

  • RequestId:

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



4578
4579
4580
# File 'lib/v20170312/models.rb', line 4578

def ZoneSet
  @ZoneSet
end

Instance Method Details

#deserialize(params) ⇒ Object



4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'lib/v20170312/models.rb', line 4586

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ZoneSet'].nil?
    @ZoneSet = []
    params['ZoneSet'].each do |i|
      zoneinfo_tmp = ZoneInfo.new
      zoneinfo_tmp.deserialize(i)
      @ZoneSet << zoneinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end