Class: TencentCloud::Oceanus::V20190422::CreateVariableRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::CreateVariableRequest
- Defined in:
- lib/v20190422/models.rb
Overview
CreateVariable请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, type = nil, remark = nil, workspaceid = nil) ⇒ CreateVariableRequest
constructor
A new instance of CreateVariableRequest.
Constructor Details
#initialize(name = nil, value = nil, type = nil, remark = nil, workspaceid = nil) ⇒ CreateVariableRequest
Returns a new instance of CreateVariableRequest.
1467 1468 1469 1470 1471 1472 1473 |
# File 'lib/v20190422/models.rb', line 1467 def initialize(name=nil, value=nil, type=nil, remark=nil, workspaceid=nil) @Name = name @Value = value @Type = type @Remark = remark @WorkSpaceId = workspaceid end |
Instance Attribute Details
#Name ⇒ Object
1465 1466 1467 |
# File 'lib/v20190422/models.rb', line 1465 def Name @Name end |
#Remark ⇒ Object
1465 1466 1467 |
# File 'lib/v20190422/models.rb', line 1465 def Remark @Remark end |
#Type ⇒ Object
1465 1466 1467 |
# File 'lib/v20190422/models.rb', line 1465 def Type @Type end |
#Value ⇒ Object
1465 1466 1467 |
# File 'lib/v20190422/models.rb', line 1465 def Value @Value end |
#WorkSpaceId ⇒ Object
1465 1466 1467 |
# File 'lib/v20190422/models.rb', line 1465 def WorkSpaceId @WorkSpaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
1475 1476 1477 1478 1479 1480 1481 |
# File 'lib/v20190422/models.rb', line 1475 def deserialize(params) @Name = params['Name'] @Value = params['Value'] @Type = params['Type'] @Remark = params['Remark'] @WorkSpaceId = params['WorkSpaceId'] end |