Class: TencentCloud::Tem::V20201221::CreateCosTokenV2Request
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::CreateCosTokenV2Request
- Defined in:
- lib/v20201221/models.rb
Overview
CreateCosTokenV2请求参数结构体
Instance Attribute Summary collapse
- #OptType ⇒ Object
- #PkgName ⇒ Object
- #ServiceId ⇒ Object
- #SourceChannel ⇒ Object
- #TimeVersion ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, pkgname = nil, opttype = nil, sourcechannel = nil, timeversion = nil) ⇒ CreateCosTokenV2Request
constructor
A new instance of CreateCosTokenV2Request.
Constructor Details
#initialize(serviceid = nil, pkgname = nil, opttype = nil, sourcechannel = nil, timeversion = nil) ⇒ CreateCosTokenV2Request
Returns a new instance of CreateCosTokenV2Request.
139 140 141 142 143 144 145 |
# File 'lib/v20201221/models.rb', line 139 def initialize(serviceid=nil, pkgname=nil, opttype=nil, sourcechannel=nil, timeversion=nil) @ServiceId = serviceid @PkgName = pkgname @OptType = opttype @SourceChannel = sourcechannel @TimeVersion = timeversion end |
Instance Attribute Details
#OptType ⇒ Object
137 138 139 |
# File 'lib/v20201221/models.rb', line 137 def OptType @OptType end |
#PkgName ⇒ Object
137 138 139 |
# File 'lib/v20201221/models.rb', line 137 def PkgName @PkgName end |
#ServiceId ⇒ Object
137 138 139 |
# File 'lib/v20201221/models.rb', line 137 def ServiceId @ServiceId end |
#SourceChannel ⇒ Object
137 138 139 |
# File 'lib/v20201221/models.rb', line 137 def SourceChannel @SourceChannel end |
#TimeVersion ⇒ Object
137 138 139 |
# File 'lib/v20201221/models.rb', line 137 def TimeVersion @TimeVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
147 148 149 150 151 152 153 |
# File 'lib/v20201221/models.rb', line 147 def deserialize(params) @ServiceId = params['ServiceId'] @PkgName = params['PkgName'] @OptType = params['OptType'] @SourceChannel = params['SourceChannel'] @TimeVersion = params['TimeVersion'] end |