Class: TencentCloud::Apigateway::V20180808::BindSubDomainRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::BindSubDomainRequest
- Defined in:
- lib/v20180808/models.rb
Overview
BindSubDomain请求参数结构体
Instance Attribute Summary collapse
- #CertificateId ⇒ Object
- #IsDefaultMapping ⇒ Object
- #IsForcedHttps ⇒ Object
- #NetSubDomain ⇒ Object
- #NetType ⇒ Object
- #PathMappingSet ⇒ Object
- #Protocol ⇒ Object
- #ServiceId ⇒ Object
- #SubDomain ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, subdomain = nil, protocol = nil, nettype = nil, isdefaultmapping = nil, netsubdomain = nil, certificateid = nil, pathmappingset = nil, isforcedhttps = nil) ⇒ BindSubDomainRequest
constructor
A new instance of BindSubDomainRequest.
Constructor Details
#initialize(serviceid = nil, subdomain = nil, protocol = nil, nettype = nil, isdefaultmapping = nil, netsubdomain = nil, certificateid = nil, pathmappingset = nil, isforcedhttps = nil) ⇒ BindSubDomainRequest
Returns a new instance of BindSubDomainRequest.
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 |
# File 'lib/v20180808/models.rb', line 1597 def initialize(serviceid=nil, subdomain=nil, protocol=nil, nettype=nil, isdefaultmapping=nil, netsubdomain=nil, certificateid=nil, pathmappingset=nil, isforcedhttps=nil) @ServiceId = serviceid @SubDomain = subdomain @Protocol = protocol @NetType = nettype @IsDefaultMapping = isdefaultmapping @NetSubDomain = netsubdomain @CertificateId = certificateid @PathMappingSet = pathmappingset @IsForcedHttps = isforcedhttps end |
Instance Attribute Details
#CertificateId ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def CertificateId @CertificateId end |
#IsDefaultMapping ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def IsDefaultMapping @IsDefaultMapping end |
#IsForcedHttps ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def IsForcedHttps @IsForcedHttps end |
#NetSubDomain ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def NetSubDomain @NetSubDomain end |
#NetType ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def NetType @NetType end |
#PathMappingSet ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def PathMappingSet @PathMappingSet end |
#Protocol ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def Protocol @Protocol end |
#ServiceId ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def ServiceId @ServiceId end |
#SubDomain ⇒ Object
1595 1596 1597 |
# File 'lib/v20180808/models.rb', line 1595 def SubDomain @SubDomain end |
Instance Method Details
#deserialize(params) ⇒ Object
1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 |
# File 'lib/v20180808/models.rb', line 1609 def deserialize(params) @ServiceId = params['ServiceId'] @SubDomain = params['SubDomain'] @Protocol = params['Protocol'] @NetType = params['NetType'] @IsDefaultMapping = params['IsDefaultMapping'] @NetSubDomain = params['NetSubDomain'] @CertificateId = params['CertificateId'] unless params['PathMappingSet'].nil? @PathMappingSet = [] params['PathMappingSet'].each do |i| pathmapping_tmp = PathMapping.new pathmapping_tmp.deserialize(i) @PathMappingSet << pathmapping_tmp end end @IsForcedHttps = params['IsForcedHttps'] end |