Class: TencentCloud::Waf::V20180125::DescribeHostsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeHostsRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeHosts请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, domainid = nil, search = nil, item = nil, instanceid = nil) ⇒ DescribeHostsRequest
constructor
A new instance of DescribeHostsRequest.
Constructor Details
#initialize(domain = nil, domainid = nil, search = nil, item = nil, instanceid = nil) ⇒ DescribeHostsRequest
Returns a new instance of DescribeHostsRequest.
5437 5438 5439 5440 5441 5442 5443 |
# File 'lib/v20180125/models.rb', line 5437 def initialize(domain=nil, domainid=nil, search=nil, item=nil, instanceid=nil) @Domain = domain @DomainId = domainid @Search = search @Item = item @InstanceID = instanceid end |
Instance Attribute Details
#Domain ⇒ Object
5435 5436 5437 |
# File 'lib/v20180125/models.rb', line 5435 def Domain @Domain end |
#DomainId ⇒ Object
5435 5436 5437 |
# File 'lib/v20180125/models.rb', line 5435 def DomainId @DomainId end |
#InstanceID ⇒ Object
5435 5436 5437 |
# File 'lib/v20180125/models.rb', line 5435 def InstanceID @InstanceID end |
#Item ⇒ Object
5435 5436 5437 |
# File 'lib/v20180125/models.rb', line 5435 def Item @Item end |
#Search ⇒ Object
5435 5436 5437 |
# File 'lib/v20180125/models.rb', line 5435 def Search @Search end |
Instance Method Details
#deserialize(params) ⇒ Object
5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 |
# File 'lib/v20180125/models.rb', line 5445 def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Search = params['Search'] unless params['Item'].nil? @Item = SearchItem.new @Item.deserialize(params['Item']) end @InstanceID = params['InstanceID'] end |