Class: TencentCloud::Scf::V20180416::GetCustomDomainResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::GetCustomDomainResponse
- Defined in:
- lib/v20180416/models.rb
Overview
GetCustomDomain返回参数结构体
Instance Attribute Summary collapse
- #CertConfig ⇒ Object
- #Domain ⇒ Object
- #EndpointsConfig ⇒ Object
- #Protocol ⇒ Object
- #RequestId ⇒ Object
- #Tags ⇒ Object
- #WafConfig ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, protocol = nil, endpointsconfig = nil, certconfig = nil, wafconfig = nil, tags = nil, requestid = nil) ⇒ GetCustomDomainResponse
constructor
A new instance of GetCustomDomainResponse.
Constructor Details
#initialize(domain = nil, protocol = nil, endpointsconfig = nil, certconfig = nil, wafconfig = nil, tags = nil, requestid = nil) ⇒ GetCustomDomainResponse
Returns a new instance of GetCustomDomainResponse.
1809 1810 1811 1812 1813 1814 1815 1816 1817 |
# File 'lib/v20180416/models.rb', line 1809 def initialize(domain=nil, protocol=nil, endpointsconfig=nil, certconfig=nil, wafconfig=nil, =nil, requestid=nil) @Domain = domain @Protocol = protocol @EndpointsConfig = endpointsconfig @CertConfig = certconfig @WafConfig = wafconfig @Tags = @RequestId = requestid end |
Instance Attribute Details
#CertConfig ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def CertConfig @CertConfig end |
#Domain ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def Domain @Domain end |
#EndpointsConfig ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def EndpointsConfig @EndpointsConfig end |
#Protocol ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def Protocol @Protocol end |
#RequestId ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def RequestId @RequestId end |
#Tags ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def Tags @Tags end |
#WafConfig ⇒ Object
1807 1808 1809 |
# File 'lib/v20180416/models.rb', line 1807 def WafConfig @WafConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 |
# File 'lib/v20180416/models.rb', line 1819 def deserialize(params) @Domain = params['Domain'] @Protocol = params['Protocol'] unless params['EndpointsConfig'].nil? @EndpointsConfig = [] params['EndpointsConfig'].each do |i| endpointsconf_tmp = EndpointsConf.new endpointsconf_tmp.deserialize(i) @EndpointsConfig << endpointsconf_tmp end end unless params['CertConfig'].nil? @CertConfig = CertConf.new @CertConfig.deserialize(params['CertConfig']) end unless params['WafConfig'].nil? @WafConfig = WafConf.new @WafConfig.deserialize(params['WafConfig']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @RequestId = params['RequestId'] end |