Class: TencentCloud::Lke::V20231130::ListQAResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lke::V20231130::ListQAResponse
- Defined in:
- lib/v20231130/models.rb
Overview
ListQA返回参数结构体
Instance Attribute Summary collapse
- #AcceptedTotal ⇒ Object
- #List ⇒ Object
- #NotAcceptedTotal ⇒ Object
- #PageNumber ⇒ Object
- #RequestId ⇒ Object
- #Total ⇒ Object
- #WaitVerifyTotal ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, waitverifytotal = nil, notacceptedtotal = nil, acceptedtotal = nil, pagenumber = nil, list = nil, requestid = nil) ⇒ ListQAResponse
constructor
A new instance of ListQAResponse.
Constructor Details
#initialize(total = nil, waitverifytotal = nil, notacceptedtotal = nil, acceptedtotal = nil, pagenumber = nil, list = nil, requestid = nil) ⇒ ListQAResponse
Returns a new instance of ListQAResponse.
7959 7960 7961 7962 7963 7964 7965 7966 7967 |
# File 'lib/v20231130/models.rb', line 7959 def initialize(total=nil, waitverifytotal=nil, notacceptedtotal=nil, acceptedtotal=nil, pagenumber=nil, list=nil, requestid=nil) @Total = total @WaitVerifyTotal = waitverifytotal @NotAcceptedTotal = notacceptedtotal @AcceptedTotal = acceptedtotal @PageNumber = pagenumber @List = list @RequestId = requestid end |
Instance Attribute Details
#AcceptedTotal ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def AcceptedTotal @AcceptedTotal end |
#List ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def List @List end |
#NotAcceptedTotal ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def NotAcceptedTotal @NotAcceptedTotal end |
#PageNumber ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def PageNumber @PageNumber end |
#RequestId ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def RequestId @RequestId end |
#Total ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def Total @Total end |
#WaitVerifyTotal ⇒ Object
7957 7958 7959 |
# File 'lib/v20231130/models.rb', line 7957 def WaitVerifyTotal @WaitVerifyTotal end |
Instance Method Details
#deserialize(params) ⇒ Object
7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 |
# File 'lib/v20231130/models.rb', line 7969 def deserialize(params) @Total = params['Total'] @WaitVerifyTotal = params['WaitVerifyTotal'] @NotAcceptedTotal = params['NotAcceptedTotal'] @AcceptedTotal = params['AcceptedTotal'] @PageNumber = params['PageNumber'] unless params['List'].nil? @List = [] params['List'].each do |i| listqaitem_tmp = ListQaItem.new listqaitem_tmp.deserialize(i) @List << listqaitem_tmp end end @RequestId = params['RequestId'] end |