Class: TencentCloud::Thpc::V20230321::EnvVar
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::EnvVar
- Defined in:
- lib/v20230321/models.rb
Overview
用户自定义环境变量。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ EnvVar
constructor
A new instance of EnvVar.
Constructor Details
#initialize(name = nil, value = nil) ⇒ EnvVar
Returns a new instance of EnvVar.
1921 1922 1923 1924 |
# File 'lib/v20230321/models.rb', line 1921 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
1919 1920 1921 |
# File 'lib/v20230321/models.rb', line 1919 def Name @Name end |
#Value ⇒ Object
1919 1920 1921 |
# File 'lib/v20230321/models.rb', line 1919 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1926 1927 1928 1929 |
# File 'lib/v20230321/models.rb', line 1926 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |