Class: TencentCloud::Tem::V20210701::CosToken
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CosToken
- Defined in:
- lib/v20210701/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.
164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20210701/models.rb', line 164 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
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def Bucket @Bucket end |
#ExpiredTime ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def ExpiredTime @ExpiredTime end |
#FullPath ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def FullPath @FullPath end |
#Region ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def Region @Region end |
#RequestId ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def RequestId @RequestId end |
#SessionToken ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def SessionToken @SessionToken end |
#StartTime ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def StartTime @StartTime end |
#TmpSecretId ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def TmpSecretId @TmpSecretId end |
#TmpSecretKey ⇒ Object
162 163 164 |
# File 'lib/v20210701/models.rb', line 162 def TmpSecretKey @TmpSecretKey end |
Instance Method Details
#deserialize(params) ⇒ Object
176 177 178 179 180 181 182 183 184 185 186 |
# File 'lib/v20210701/models.rb', line 176 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 |