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.
12871 12872 12873 12874 12875 12876 12877 |
# File 'lib/v20180525/models.rb', line 12871 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
12869 12870 12871 |
# File 'lib/v20180525/models.rb', line 12869 def Constraint @Constraint end |
#Default ⇒ Object
12869 12870 12871 |
# File 'lib/v20180525/models.rb', line 12869 def Default @Default end |
#Name ⇒ Object
12869 12870 12871 |
# File 'lib/v20180525/models.rb', line 12869 def Name @Name end |
#Type ⇒ Object
12869 12870 12871 |
# File 'lib/v20180525/models.rb', line 12869 def Type @Type end |
#Usage ⇒ Object
12869 12870 12871 |
# File 'lib/v20180525/models.rb', line 12869 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
12879 12880 12881 12882 12883 12884 12885 |
# File 'lib/v20180525/models.rb', line 12879 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Usage = params['Usage'] @Default = params['Default'] @Constraint = params['Constraint'] end |