Class: TencentCloud::Cdn::V20180606::OriginAuthentication
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::OriginAuthentication
- Defined in:
- lib/v20180606/models.rb
Overview
回源鉴权高级配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TypeA ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, typea = nil) ⇒ OriginAuthentication
constructor
A new instance of OriginAuthentication.
Constructor Details
#initialize(switch = nil, typea = nil) ⇒ OriginAuthentication
Returns a new instance of OriginAuthentication.
10104 10105 10106 10107 |
# File 'lib/v20180606/models.rb', line 10104 def initialize(switch=nil, typea=nil) @Switch = switch @TypeA = typea end |
Instance Attribute Details
#Switch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
10102 10103 10104 |
# File 'lib/v20180606/models.rb', line 10102 def Switch @Switch end |
#TypeA ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
10102 10103 10104 |
# File 'lib/v20180606/models.rb', line 10102 def TypeA @TypeA end |
Instance Method Details
#deserialize(params) ⇒ Object
10109 10110 10111 10112 10113 10114 10115 |
# File 'lib/v20180606/models.rb', line 10109 def deserialize(params) @Switch = params['Switch'] unless params['TypeA'].nil? @TypeA = OriginAuthenticationTypeA.new @TypeA.deserialize(params['TypeA']) end end |