Class: TencentCloud::Ecdn::V20191012::AdvanceHttps

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

Overview

回源的自定义Https配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(customtlsstatus = nil, tlsversion = nil, cipher = nil, verifyorigintype = nil, certinfo = nil, origincertinfo = nil) ⇒ AdvanceHttps



46
47
48
49
50
51
52
53
# File 'lib/v20191012/models.rb', line 46

def initialize(customtlsstatus=nil, tlsversion=nil, cipher=nil, verifyorigintype=nil, certinfo=nil, origincertinfo=nil)
  @CustomTlsStatus = customtlsstatus
  @TlsVersion = tlsversion
  @Cipher = cipher
  @VerifyOriginType = verifyorigintype
  @CertInfo = certinfo
  @OriginCertInfo = origincertinfo
end

Instance Attribute Details

#CertInfoObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def CertInfo
  @CertInfo
end

#CipherObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def Cipher
  @Cipher
end

#CustomTlsStatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def CustomTlsStatus
  @CustomTlsStatus
end

#OriginCertInfoObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def OriginCertInfo
  @OriginCertInfo
end

#TlsVersionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def TlsVersion
  @TlsVersion
end

#VerifyOriginTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。off - 关闭校验oneWay - 校验源站twoWay - 双向校验注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。



44
45
46
# File 'lib/v20191012/models.rb', line 44

def VerifyOriginType
  @VerifyOriginType
end

Instance Method Details

#deserialize(params) ⇒ Object



55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/v20191012/models.rb', line 55

def deserialize(params)
  @CustomTlsStatus = params['CustomTlsStatus']
  @TlsVersion = params['TlsVersion']
  @Cipher = params['Cipher']
  @VerifyOriginType = params['VerifyOriginType']
  unless params['CertInfo'].nil?
    @CertInfo = ServerCert.new
    @CertInfo.deserialize(params['CertInfo'])
  end
  unless params['OriginCertInfo'].nil?
    @OriginCertInfo = ClientCert.new
    @OriginCertInfo.deserialize(params['OriginCertInfo'])
  end
end