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.



7214
7215
7216
7217
# File 'lib/v20180606/models.rb', line 7214

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



7212
7213
7214
# File 'lib/v20180606/models.rb', line 7212

def Switch
  @Switch
end

#TypeAObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



7212
7213
7214
# File 'lib/v20180606/models.rb', line 7212

def TypeA
  @TypeA
end

Instance Method Details

#deserialize(params) ⇒ Object



7219
7220
7221
7222
7223
7224
7225
# File 'lib/v20180606/models.rb', line 7219

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