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.
7980 7981 7982 7983 7984 7985 7986 7987 7988 |
# File 'lib/v20231130/models.rb', line 7980 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
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def AcceptedTotal @AcceptedTotal end |
#List ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def List @List end |
#NotAcceptedTotal ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def NotAcceptedTotal @NotAcceptedTotal end |
#PageNumber ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def PageNumber @PageNumber end |
#RequestId ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def RequestId @RequestId end |
#Total ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def Total @Total end |
#WaitVerifyTotal ⇒ Object
7978 7979 7980 |
# File 'lib/v20231130/models.rb', line 7978 def WaitVerifyTotal @WaitVerifyTotal end |
Instance Method Details
#deserialize(params) ⇒ Object
7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 |
# File 'lib/v20231130/models.rb', line 7990 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 |