Class: TencentCloud::Tem::V20210701::CreateCosTokenRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CreateCosTokenRequest
- Defined in:
- lib/v20210701/models.rb
Overview
CreateCosToken请求参数结构体
Instance Attribute Summary collapse
- #ApplicationId ⇒ Object
- #OptType ⇒ Object
- #PkgName ⇒ Object
- #SourceChannel ⇒ Object
- #TimeVersion ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(applicationid = nil, pkgname = nil, opttype = nil, sourcechannel = nil, timeversion = nil) ⇒ CreateCosTokenRequest
constructor
A new instance of CreateCosTokenRequest.
Constructor Details
#initialize(applicationid = nil, pkgname = nil, opttype = nil, sourcechannel = nil, timeversion = nil) ⇒ CreateCosTokenRequest
Returns a new instance of CreateCosTokenRequest.
466 467 468 469 470 471 472 |
# File 'lib/v20210701/models.rb', line 466 def initialize(applicationid=nil, pkgname=nil, opttype=nil, sourcechannel=nil, timeversion=nil) @ApplicationId = applicationid @PkgName = pkgname @OptType = opttype @SourceChannel = sourcechannel @TimeVersion = timeversion end |
Instance Attribute Details
#ApplicationId ⇒ Object
464 465 466 |
# File 'lib/v20210701/models.rb', line 464 def ApplicationId @ApplicationId end |
#OptType ⇒ Object
464 465 466 |
# File 'lib/v20210701/models.rb', line 464 def OptType @OptType end |
#PkgName ⇒ Object
464 465 466 |
# File 'lib/v20210701/models.rb', line 464 def PkgName @PkgName end |
#SourceChannel ⇒ Object
464 465 466 |
# File 'lib/v20210701/models.rb', line 464 def SourceChannel @SourceChannel end |
#TimeVersion ⇒ Object
464 465 466 |
# File 'lib/v20210701/models.rb', line 464 def TimeVersion @TimeVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
474 475 476 477 478 479 480 |
# File 'lib/v20210701/models.rb', line 474 def deserialize(params) @ApplicationId = params['ApplicationId'] @PkgName = params['PkgName'] @OptType = params['OptType'] @SourceChannel = params['SourceChannel'] @TimeVersion = params['TimeVersion'] end |