Class: TencentCloud::Dbbrain::V20210527::DescribeAuditInstanceListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeAuditInstanceListResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeAuditInstanceList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditInstanceListResponse
constructor
A new instance of DescribeAuditInstanceListResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditInstanceListResponse
Returns a new instance of DescribeAuditInstanceListResponse.
1875 1876 1877 1878 1879 |
# File 'lib/v20210527/models.rb', line 1875 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
1873 1874 1875 |
# File 'lib/v20210527/models.rb', line 1873 def Items @Items end |
#RequestId ⇒ Object
1873 1874 1875 |
# File 'lib/v20210527/models.rb', line 1873 def RequestId @RequestId end |
#TotalCount ⇒ Object
1873 1874 1875 |
# File 'lib/v20210527/models.rb', line 1873 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 |
# File 'lib/v20210527/models.rb', line 1881 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| auditinstance_tmp = AuditInstance.new auditinstance_tmp.deserialize(i) @Items << auditinstance_tmp end end @RequestId = params['RequestId'] end |