Class: TencentCloud::Tke::V20180525::Flag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::Flag
- Defined in:
- lib/v20180525/models.rb
Overview
参数描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, usage = nil, default = nil, constraint = nil) ⇒ Flag
constructor
A new instance of Flag.
Constructor Details
#initialize(name = nil, type = nil, usage = nil, default = nil, constraint = nil) ⇒ Flag
Returns a new instance of Flag.
13197 13198 13199 13200 13201 13202 13203 |
# File 'lib/v20180525/models.rb', line 13197 def initialize(name=nil, type=nil, usage=nil, default=nil, constraint=nil) @Name = name @Type = type @Usage = usage @Default = default @Constraint = constraint end |
Instance Attribute Details
#Constraint ⇒ Object
13195 13196 13197 |
# File 'lib/v20180525/models.rb', line 13195 def Constraint @Constraint end |
#Default ⇒ Object
13195 13196 13197 |
# File 'lib/v20180525/models.rb', line 13195 def Default @Default end |
#Name ⇒ Object
13195 13196 13197 |
# File 'lib/v20180525/models.rb', line 13195 def Name @Name end |
#Type ⇒ Object
13195 13196 13197 |
# File 'lib/v20180525/models.rb', line 13195 def Type @Type end |
#Usage ⇒ Object
13195 13196 13197 |
# File 'lib/v20180525/models.rb', line 13195 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
13205 13206 13207 13208 13209 13210 13211 |
# File 'lib/v20180525/models.rb', line 13205 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Usage = params['Usage'] @Default = params['Default'] @Constraint = params['Constraint'] end |