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.



10123
10124
10125
10126
# File 'lib/v20180606/models.rb', line 10123

def initialize(switch=nil, typea=nil)
  @Switch = switch
  @TypeA = typea
end

Instance Attribute Details

#SwitchObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



10121
10122
10123
# File 'lib/v20180606/models.rb', line 10121

def Switch
  @Switch
end

#TypeAObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



10121
10122
10123
# File 'lib/v20180606/models.rb', line 10121

def TypeA
  @TypeA
end

Instance Method Details

#deserialize(params) ⇒ Object



10128
10129
10130
10131
10132
10133
10134
# File 'lib/v20180606/models.rb', line 10128

def deserialize(params)
  @Switch = params['Switch']
  unless params['TypeA'].nil?
    @TypeA = OriginAuthenticationTypeA.new
    @TypeA.deserialize(params['TypeA'])
  end
end