Class: TencentCloud::Tem::V20201221::CreateCosTokenRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::CreateCosTokenRequest
- Defined in:
- lib/v20201221/models.rb
Overview
CreateCosToken请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, versionid = nil, pkgname = nil, opttype = nil, sourcechannel = nil) ⇒ CreateCosTokenRequest
constructor
A new instance of CreateCosTokenRequest.
Constructor Details
#initialize(serviceid = nil, versionid = nil, pkgname = nil, opttype = nil, sourcechannel = nil) ⇒ CreateCosTokenRequest
Returns a new instance of CreateCosTokenRequest.
83 84 85 86 87 88 89 |
# File 'lib/v20201221/models.rb', line 83 def initialize(serviceid=nil, versionid=nil, pkgname=nil, opttype=nil, sourcechannel=nil) @ServiceId = serviceid @VersionId = versionid @PkgName = pkgname @OptType = opttype @SourceChannel = sourcechannel end |
Instance Attribute Details
#OptType ⇒ Object
81 82 83 |
# File 'lib/v20201221/models.rb', line 81 def OptType @OptType end |
#PkgName ⇒ Object
81 82 83 |
# File 'lib/v20201221/models.rb', line 81 def PkgName @PkgName end |
#ServiceId ⇒ Object
81 82 83 |
# File 'lib/v20201221/models.rb', line 81 def ServiceId @ServiceId end |
#SourceChannel ⇒ Object
81 82 83 |
# File 'lib/v20201221/models.rb', line 81 def SourceChannel @SourceChannel end |
#VersionId ⇒ Object
81 82 83 |
# File 'lib/v20201221/models.rb', line 81 def VersionId @VersionId end |
Instance Method Details
#deserialize(params) ⇒ Object
91 92 93 94 95 96 97 |
# File 'lib/v20201221/models.rb', line 91 def deserialize(params) @ServiceId = params['ServiceId'] @VersionId = params['VersionId'] @PkgName = params['PkgName'] @OptType = params['OptType'] @SourceChannel = params['SourceChannel'] end |