Class: TencentCloud::Waf::V20180125::CacheUrlItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

防篡改url元素

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, domain = nil, uri = nil, protocol = nil, status = nil) ⇒ CacheUrlItem

Returns a new instance of CacheUrlItem.



1697
1698
1699
1700
1701
1702
1703
1704
# File 'lib/v20180125/models.rb', line 1697

def initialize(id=nil, name=nil, domain=nil, uri=nil, protocol=nil, status=nil)
  @Id = id
  @Name = name
  @Domain = domain
  @Uri = uri
  @Protocol = protocol
  @Status = status
end

Instance Attribute Details

#DomainObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Domain
  @Domain
end

#IdObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Name
  @Name
end

#ProtocolObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Protocol
  @Protocol
end

#StatusObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Status
  @Status
end

#UriObject

Parameters:

  • Id:

    Id

  • Name:

    名称

  • Domain:

    域名

  • Uri:

    uri

  • Protocol:

    协议

  • Status:

    状态



1695
1696
1697
# File 'lib/v20180125/models.rb', line 1695

def Uri
  @Uri
end

Instance Method Details

#deserialize(params) ⇒ Object



1706
1707
1708
1709
1710
1711
1712
1713
# File 'lib/v20180125/models.rb', line 1706

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @Domain = params['Domain']
  @Uri = params['Uri']
  @Protocol = params['Protocol']
  @Status = params['Status']
end