Class: TencentCloud::Tcr::V20190924::CreateInstanceTokenRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::CreateInstanceTokenRequest
- Defined in:
- lib/v20190924/models.rb
Overview
CreateInstanceToken请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(registryid = nil, tokentype = nil, desc = nil) ⇒ CreateInstanceTokenRequest
constructor
A new instance of CreateInstanceTokenRequest.
Constructor Details
#initialize(registryid = nil, tokentype = nil, desc = nil) ⇒ CreateInstanceTokenRequest
Returns a new instance of CreateInstanceTokenRequest.
609 610 611 612 613 |
# File 'lib/v20190924/models.rb', line 609 def initialize(registryid=nil, tokentype=nil, desc=nil) @RegistryId = registryid @TokenType = tokentype @Desc = desc end |
Instance Attribute Details
#Desc ⇒ Object
607 608 609 |
# File 'lib/v20190924/models.rb', line 607 def Desc @Desc end |
#RegistryId ⇒ Object
607 608 609 |
# File 'lib/v20190924/models.rb', line 607 def RegistryId @RegistryId end |
#TokenType ⇒ Object
607 608 609 |
# File 'lib/v20190924/models.rb', line 607 def TokenType @TokenType end |
Instance Method Details
#deserialize(params) ⇒ Object
615 616 617 618 619 |
# File 'lib/v20190924/models.rb', line 615 def deserialize(params) @RegistryId = params['RegistryId'] @TokenType = params['TokenType'] @Desc = params['Desc'] end |