Class: TencentCloud::Cdn::V20180606::DescribeHttpsPackagesResponse

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

Overview

DescribeHttpsPackages返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, httpspackages = nil, expiringcount = nil, enabledcount = nil, paidcount = nil, requestid = nil) ⇒ DescribeHttpsPackagesResponse

Returns a new instance of DescribeHttpsPackagesResponse.



4648
4649
4650
4651
4652
4653
4654
4655
# File 'lib/v20180606/models.rb', line 4648

def initialize(totalcount=nil, httpspackages=nil, expiringcount=nil, enabledcount=nil, paidcount=nil, requestid=nil)
  @TotalCount = totalcount
  @HttpsPackages = httpspackages
  @ExpiringCount = expiringcount
  @EnabledCount = enabledcount
  @PaidCount = paidcount
  @RequestId = requestid
end

Instance Attribute Details

#EnabledCountObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def EnabledCount
  @EnabledCount
end

#ExpiringCountObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def ExpiringCount
  @ExpiringCount
end

#HttpsPackagesObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def HttpsPackages
  @HttpsPackages
end

#PaidCountObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def PaidCount
  @PaidCount
end

#RequestIdObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    HTTPS请求包总个数

  • HttpsPackages:

    HTTPS请求包详情

  • ExpiringCount:

    即将过期的HTTPS请求包个数(7天内)

  • EnabledCount:

    有效HTTPS请求包个数

  • PaidCount:

    付费HTTPS请求包个数

  • RequestId:

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



4646
4647
4648
# File 'lib/v20180606/models.rb', line 4646

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
# File 'lib/v20180606/models.rb', line 4657

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['HttpsPackages'].nil?
    @HttpsPackages = []
    params['HttpsPackages'].each do |i|
      httpspackage_tmp = HttpsPackage.new
      httpspackage_tmp.deserialize(i)
      @HttpsPackages << httpspackage_tmp
    end
  end
  @ExpiringCount = params['ExpiringCount']
  @EnabledCount = params['EnabledCount']
  @PaidCount = params['PaidCount']
  @RequestId = params['RequestId']
end