Class: TencentCloud::Waf::V20180125::HostStatus
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::HostStatus
- Defined in:
- lib/v20180125/models.rb
Overview
设置WAF状态的结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, domainid = nil, status = nil, instanceid = nil) ⇒ HostStatus
constructor
A new instance of HostStatus.
Constructor Details
#initialize(domain = nil, domainid = nil, status = nil, instanceid = nil) ⇒ HostStatus
Returns a new instance of HostStatus.
8508 8509 8510 8511 8512 8513 |
# File 'lib/v20180125/models.rb', line 8508 def initialize(domain=nil, domainid=nil, status=nil, instanceid=nil) @Domain = domain @DomainId = domainid @Status = status @InstanceID = instanceid end |
Instance Attribute Details
#Domain ⇒ Object
8506 8507 8508 |
# File 'lib/v20180125/models.rb', line 8506 def Domain @Domain end |
#DomainId ⇒ Object
8506 8507 8508 |
# File 'lib/v20180125/models.rb', line 8506 def DomainId @DomainId end |
#InstanceID ⇒ Object
8506 8507 8508 |
# File 'lib/v20180125/models.rb', line 8506 def InstanceID @InstanceID end |
#Status ⇒ Object
8506 8507 8508 |
# File 'lib/v20180125/models.rb', line 8506 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
8515 8516 8517 8518 8519 8520 |
# File 'lib/v20180125/models.rb', line 8515 def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Status = params['Status'] @InstanceID = params['InstanceID'] end |