Class: TencentCloud::Gs::V20191118::CreateCosCredentialResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gs::V20191118::CreateCosCredentialResponse
- Defined in:
- lib/v20191118/models.rb
Overview
CreateCosCredential返回参数结构体
Instance Attribute Summary collapse
- #CosBucket ⇒ Object
- #CosRegion ⇒ Object
- #ExpiredTime ⇒ Object
- #Path ⇒ Object
- #RequestId ⇒ Object
- #SecretID ⇒ Object
- #SecretKey ⇒ Object
- #SessionToken ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(secretid = nil, secretkey = nil, sessiontoken = nil, cosbucket = nil, cosregion = nil, path = nil, starttime = nil, expiredtime = nil, requestid = nil) ⇒ CreateCosCredentialResponse
constructor
A new instance of CreateCosCredentialResponse.
Constructor Details
#initialize(secretid = nil, secretkey = nil, sessiontoken = nil, cosbucket = nil, cosregion = nil, path = nil, starttime = nil, expiredtime = nil, requestid = nil) ⇒ CreateCosCredentialResponse
Returns a new instance of CreateCosCredentialResponse.
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 |
# File 'lib/v20191118/models.rb', line 1517 def initialize(secretid=nil, secretkey=nil, sessiontoken=nil, cosbucket=nil, cosregion=nil, path=nil, starttime=nil, expiredtime=nil, requestid=nil) @SecretID = secretid @SecretKey = secretkey @SessionToken = sessiontoken @CosBucket = cosbucket @CosRegion = cosregion @Path = path @StartTime = starttime @ExpiredTime = expiredtime @RequestId = requestid end |
Instance Attribute Details
#CosBucket ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def CosBucket @CosBucket end |
#CosRegion ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def CosRegion @CosRegion end |
#ExpiredTime ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def ExpiredTime @ExpiredTime end |
#Path ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def Path @Path end |
#RequestId ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def RequestId @RequestId end |
#SecretID ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def SecretID @SecretID end |
#SecretKey ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def SecretKey @SecretKey end |
#SessionToken ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def SessionToken @SessionToken end |
#StartTime ⇒ Object
1515 1516 1517 |
# File 'lib/v20191118/models.rb', line 1515 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 |
# File 'lib/v20191118/models.rb', line 1529 def deserialize(params) @SecretID = params['SecretID'] @SecretKey = params['SecretKey'] @SessionToken = params['SessionToken'] @CosBucket = params['CosBucket'] @CosRegion = params['CosRegion'] @Path = params['Path'] @StartTime = params['StartTime'] @ExpiredTime = params['ExpiredTime'] @RequestId = params['RequestId'] end |