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.



7454
7455
7456
7457
# File 'lib/v20180606/models.rb', line 7454

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

Instance Attribute Details

#SwitchObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



7452
7453
7454
# File 'lib/v20180606/models.rb', line 7452

def Switch
  @Switch
end

#TypeAObject

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

Parameters:

  • TypeA:

    鉴权类型A配置



7452
7453
7454
# File 'lib/v20180606/models.rb', line 7452

def TypeA
  @TypeA
end

Instance Method Details

#deserialize(params) ⇒ Object



7459
7460
7461
7462
7463
7464
7465
# File 'lib/v20180606/models.rb', line 7459

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