Class: TencentCloud::Sts::V20180813::Credentials
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sts::V20180813::Credentials
- Defined in:
- lib/v20180813/models.rb
Overview
临时证书
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(token = nil, tmpsecretid = nil, tmpsecretkey = nil) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(token = nil, tmpsecretid = nil, tmpsecretkey = nil) ⇒ Credentials
Returns a new instance of Credentials.
277 278 279 280 281 |
# File 'lib/v20180813/models.rb', line 277 def initialize(token=nil, tmpsecretid=nil, tmpsecretkey=nil) @Token = token @TmpSecretId = tmpsecretid @TmpSecretKey = tmpsecretkey end |
Instance Attribute Details
#TmpSecretId ⇒ Object
275 276 277 |
# File 'lib/v20180813/models.rb', line 275 def TmpSecretId @TmpSecretId end |
#TmpSecretKey ⇒ Object
275 276 277 |
# File 'lib/v20180813/models.rb', line 275 def TmpSecretKey @TmpSecretKey end |
#Token ⇒ Object
275 276 277 |
# File 'lib/v20180813/models.rb', line 275 def Token @Token end |
Instance Method Details
#deserialize(params) ⇒ Object
283 284 285 286 287 |
# File 'lib/v20180813/models.rb', line 283 def deserialize(params) @Token = params['Token'] @TmpSecretId = params['TmpSecretId'] @TmpSecretKey = params['TmpSecretKey'] end |