Class: TencentCloud::Cdn::V20180606::OriginAuthentication

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

Overview

回源鉴权高级配置

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#SwitchObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TypeA:

    鉴权类型A配置



10102
10103
10104
# File 'lib/v20180606/models.rb', line 10102

def Switch
  @Switch
end

#TypeAObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TypeA:

    鉴权类型A配置



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