class TencentCloud::Cdn::V20180606::Authentication
时间戳防盗链配置
def deserialize(params)
def deserialize(params) @Switch = params['Switch'] unless params['TypeA'].nil? @TypeA = AuthenticationTypeA.new @TypeA.deserialize(params['TypeA']) end unless params['TypeB'].nil? @TypeB = AuthenticationTypeB.new @TypeB.deserialize(params['TypeB']) end unless params['TypeC'].nil? @TypeC = AuthenticationTypeC.new @TypeC.deserialize(params['TypeC']) end unless params['TypeD'].nil? @TypeD = AuthenticationTypeD.new @TypeD.deserialize(params['TypeD']) end end
def initialize(switch=nil, typea=nil, typeb=nil, typec=nil, typed=nil)
def initialize(switch=nil, typea=nil, typeb=nil, typec=nil, typed=nil) @Switch = switch @TypeA = typea @TypeB = typeb @TypeC = typec @TypeD = typed end