Class: TencentCloud::Tcr::V20190924::DescribeInstanceTokenResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeInstanceTokenResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeInstanceToken返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tokens = nil, requestid = nil) ⇒ DescribeInstanceTokenResponse
constructor
A new instance of DescribeInstanceTokenResponse.
Constructor Details
#initialize(totalcount = nil, tokens = nil, requestid = nil) ⇒ DescribeInstanceTokenResponse
Returns a new instance of DescribeInstanceTokenResponse.
3239 3240 3241 3242 3243 |
# File 'lib/v20190924/models.rb', line 3239 def initialize(totalcount=nil, tokens=nil, requestid=nil) @TotalCount = totalcount @Tokens = tokens @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3237 3238 3239 |
# File 'lib/v20190924/models.rb', line 3237 def RequestId @RequestId end |
#Tokens ⇒ Object
3237 3238 3239 |
# File 'lib/v20190924/models.rb', line 3237 def Tokens @Tokens end |
#TotalCount ⇒ Object
3237 3238 3239 |
# File 'lib/v20190924/models.rb', line 3237 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 |
# File 'lib/v20190924/models.rb', line 3245 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tokens'].nil? @Tokens = [] params['Tokens'].each do |i| tcrinstancetoken_tmp = TcrInstanceToken.new tcrinstancetoken_tmp.deserialize(i) @Tokens << tcrinstancetoken_tmp end end @RequestId = params['RequestId'] end |