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.
156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/v20210701/models.rb', line 156 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
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def Bucket @Bucket end |
#ExpiredTime ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def ExpiredTime @ExpiredTime end |
#FullPath ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def FullPath @FullPath end |
#Region ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def Region @Region end |
#RequestId ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def RequestId @RequestId end |
#SessionToken ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def SessionToken @SessionToken end |
#StartTime ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def StartTime @StartTime end |
#TmpSecretId ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def TmpSecretId @TmpSecretId end |
#TmpSecretKey ⇒ Object
154 155 156 |
# File 'lib/v20210701/models.rb', line 154 def TmpSecretKey @TmpSecretKey end |
Instance Method Details
#deserialize(params) ⇒ Object
168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/v20210701/models.rb', line 168 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 |