Class: TencentCloud::Apigateway::V20180808::ServicesStatus

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

Overview

服务列表展示

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, serviceset = nil) ⇒ ServicesStatus

Returns a new instance of ServicesStatus.



9016
9017
9018
9019
# File 'lib/v20180808/models.rb', line 9016

def initialize(totalcount=nil, serviceset=nil)
  @TotalCount = totalcount
  @ServiceSet = serviceset
end

Instance Attribute Details

#ServiceSetObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    服务列表总数。

  • ServiceSet:

    服务列表详情。



9014
9015
9016
# File 'lib/v20180808/models.rb', line 9014

def ServiceSet
  @ServiceSet
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    服务列表总数。

  • ServiceSet:

    服务列表详情。



9014
9015
9016
# File 'lib/v20180808/models.rb', line 9014

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
# File 'lib/v20180808/models.rb', line 9021

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ServiceSet'].nil?
    @ServiceSet = []
    params['ServiceSet'].each do |i|
      service_tmp = Service.new
      service_tmp.deserialize(i)
      @ServiceSet << service_tmp
    end
  end
end