Class: TencentCloud::Yunjing::V20180228::BashRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::BashRule
- Defined in:
- lib/v20180228/models.rb
Overview
高危命令规则
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #Decription ⇒ Object
- #Hostip ⇒ Object
- #Id ⇒ Object
- #IsGlobal ⇒ Object
- #Level ⇒ Object
- #ModifyTime ⇒ Object
- #Name ⇒ Object
- #Operator ⇒ Object
- #Rule ⇒ Object
- #Status ⇒ Object
- #Uuid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, uuid = nil, name = nil, level = nil, rule = nil, decription = nil, operator = nil, isglobal = nil, status = nil, createtime = nil, modifytime = nil, hostip = nil) ⇒ BashRule
constructor
A new instance of BashRule.
Constructor Details
#initialize(id = nil, uuid = nil, name = nil, level = nil, rule = nil, decription = nil, operator = nil, isglobal = nil, status = nil, createtime = nil, modifytime = nil, hostip = nil) ⇒ BashRule
Returns a new instance of BashRule.
312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/v20180228/models.rb', line 312 def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil) @Id = id @Uuid = uuid @Name = name @Level = level @Rule = rule @Decription = decription @Operator = operator @IsGlobal = isglobal @Status = status @CreateTime = createtime @ModifyTime = modifytime @Hostip = hostip end |
Instance Attribute Details
#CreateTime ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def CreateTime @CreateTime end |
#Decription ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Decription @Decription end |
#Hostip ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Hostip @Hostip end |
#Id ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Id @Id end |
#IsGlobal ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def IsGlobal @IsGlobal end |
#Level ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Level @Level end |
#ModifyTime ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def ModifyTime @ModifyTime end |
#Name ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Name @Name end |
#Operator ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Operator @Operator end |
#Rule ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Rule @Rule end |
#Status ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Status @Status end |
#Uuid ⇒ Object
310 311 312 |
# File 'lib/v20180228/models.rb', line 310 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
327 328 329 330 331 332 333 334 335 336 337 338 339 340 |
# File 'lib/v20180228/models.rb', line 327 def deserialize(params) @Id = params['Id'] @Uuid = params['Uuid'] @Name = params['Name'] @Level = params['Level'] @Rule = params['Rule'] @Decription = params['Decription'] @Operator = params['Operator'] @IsGlobal = params['IsGlobal'] @Status = params['Status'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @Hostip = params['Hostip'] end |