Class: TencentCloud::Tem::V20201221::CosToken
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::CosToken
- Defined in:
- lib/v20201221/models.rb
Overview
Cos token
Instance Attribute Summary collapse
- #Bucket ⇒ Object
- #ExpiredTime ⇒ Object
- #FullPath ⇒ Object
- #Region ⇒ Object
- #RequestId ⇒ Object
- #SessionToken ⇒ Object
- #StartTime ⇒ Object
- #TmpSecretId ⇒ Object
- #TmpSecretKey ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(requestid = nil, bucket = nil, region = nil, tmpsecretid = nil, tmpsecretkey = nil, sessiontoken = nil, starttime = nil, expiredtime = nil, fullpath = nil) ⇒ CosToken
constructor
A new instance of CosToken.
Constructor Details
#initialize(requestid = nil, bucket = nil, region = nil, tmpsecretid = nil, tmpsecretkey = nil, sessiontoken = nil, starttime = nil, expiredtime = nil, fullpath = nil) ⇒ CosToken
Returns a new instance of CosToken.
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/v20201221/models.rb', line 43 def initialize(requestid=nil, bucket=nil, region=nil, tmpsecretid=nil, tmpsecretkey=nil, sessiontoken=nil, starttime=nil, expiredtime=nil, fullpath=nil) @RequestId = requestid @Bucket = bucket @Region = region @TmpSecretId = tmpsecretid @TmpSecretKey = tmpsecretkey @SessionToken = sessiontoken @StartTime = starttime @ExpiredTime = expiredtime @FullPath = fullpath end |
Instance Attribute Details
#Bucket ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def Bucket @Bucket end |
#ExpiredTime ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def ExpiredTime @ExpiredTime end |
#FullPath ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def FullPath @FullPath end |
#Region ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def Region @Region end |
#RequestId ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def RequestId @RequestId end |
#SessionToken ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def SessionToken @SessionToken end |
#StartTime ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def StartTime @StartTime end |
#TmpSecretId ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def TmpSecretId @TmpSecretId end |
#TmpSecretKey ⇒ Object
41 42 43 |
# File 'lib/v20201221/models.rb', line 41 def TmpSecretKey @TmpSecretKey end |
Instance Method Details
#deserialize(params) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/v20201221/models.rb', line 55 def deserialize(params) @RequestId = params['RequestId'] @Bucket = params['Bucket'] @Region = params['Region'] @TmpSecretId = params['TmpSecretId'] @TmpSecretKey = params['TmpSecretKey'] @SessionToken = params['SessionToken'] @StartTime = params['StartTime'] @ExpiredTime = params['ExpiredTime'] @FullPath = params['FullPath'] end |