Class: TencentCloud::Bm::V20180423::DescribePsaRegulationsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribePsaRegulationsResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribePsaRegulations返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, psaregulations = nil, requestid = nil) ⇒ DescribePsaRegulationsResponse
constructor
A new instance of DescribePsaRegulationsResponse.
Constructor Details
#initialize(totalcount = nil, psaregulations = nil, requestid = nil) ⇒ DescribePsaRegulationsResponse
Returns a new instance of DescribePsaRegulationsResponse.
1689 1690 1691 1692 1693 |
# File 'lib/v20180423/models.rb', line 1689 def initialize(totalcount=nil, psaregulations=nil, requestid=nil) @TotalCount = totalcount @PsaRegulations = psaregulations @RequestId = requestid end |
Instance Attribute Details
#PsaRegulations ⇒ Object
1687 1688 1689 |
# File 'lib/v20180423/models.rb', line 1687 def PsaRegulations @PsaRegulations end |
#RequestId ⇒ Object
1687 1688 1689 |
# File 'lib/v20180423/models.rb', line 1687 def RequestId @RequestId end |
#TotalCount ⇒ Object
1687 1688 1689 |
# File 'lib/v20180423/models.rb', line 1687 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 |
# File 'lib/v20180423/models.rb', line 1695 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PsaRegulations'].nil? @PsaRegulations = [] params['PsaRegulations'].each do |i| psaregulation_tmp = PsaRegulation.new psaregulation_tmp.deserialize(i) @PsaRegulations << psaregulation_tmp end end @RequestId = params['RequestId'] end |