Class: TencentCloud::Apigateway::V20180808::ModifySubDomainRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ModifySubDomainRequest
- Defined in:
- lib/v20180808/models.rb
Overview
ModifySubDomain请求参数结构体
Instance Attribute Summary collapse
- #CertificateId ⇒ Object
- #IsDefaultMapping ⇒ Object
- #IsForcedHttps ⇒ Object
- #NetType ⇒ Object
- #PathMappingSet ⇒ Object
- #Protocol ⇒ Object
- #ServiceId ⇒ Object
- #SubDomain ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, subdomain = nil, isdefaultmapping = nil, certificateid = nil, protocol = nil, pathmappingset = nil, nettype = nil, isforcedhttps = nil) ⇒ ModifySubDomainRequest
constructor
A new instance of ModifySubDomainRequest.
Constructor Details
#initialize(serviceid = nil, subdomain = nil, isdefaultmapping = nil, certificateid = nil, protocol = nil, pathmappingset = nil, nettype = nil, isforcedhttps = nil) ⇒ ModifySubDomainRequest
Returns a new instance of ModifySubDomainRequest.
7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/v20180808/models.rb', line 7812 def initialize(serviceid=nil, subdomain=nil, isdefaultmapping=nil, certificateid=nil, protocol=nil, pathmappingset=nil, nettype=nil, isforcedhttps=nil) @ServiceId = serviceid @SubDomain = subdomain @IsDefaultMapping = isdefaultmapping @CertificateId = certificateid @Protocol = protocol @PathMappingSet = pathmappingset @NetType = nettype @IsForcedHttps = isforcedhttps end |
Instance Attribute Details
#CertificateId ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def CertificateId @CertificateId end |
#IsDefaultMapping ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def IsDefaultMapping @IsDefaultMapping end |
#IsForcedHttps ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def IsForcedHttps @IsForcedHttps end |
#NetType ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def NetType @NetType end |
#PathMappingSet ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def PathMappingSet @PathMappingSet end |
#Protocol ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def Protocol @Protocol end |
#ServiceId ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def ServiceId @ServiceId end |
#SubDomain ⇒ Object
7810 7811 7812 |
# File 'lib/v20180808/models.rb', line 7810 def SubDomain @SubDomain end |
Instance Method Details
#deserialize(params) ⇒ Object
7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 |
# File 'lib/v20180808/models.rb', line 7823 def deserialize(params) @ServiceId = params['ServiceId'] @SubDomain = params['SubDomain'] @IsDefaultMapping = params['IsDefaultMapping'] @CertificateId = params['CertificateId'] @Protocol = params['Protocol'] unless params['PathMappingSet'].nil? @PathMappingSet = [] params['PathMappingSet'].each do |i| pathmapping_tmp = PathMapping.new pathmapping_tmp.deserialize(i) @PathMappingSet << pathmapping_tmp end end @NetType = params['NetType'] @IsForcedHttps = params['IsForcedHttps'] end |