Class: TencentCloud::Clb::V20180317::OAuth

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

Overview

OAuth配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oauthenable = nil, oauthfailurestatus = nil) ⇒ OAuth



7067
7068
7069
7070
# File 'lib/v20180317/models.rb', line 7067

def initialize(oauthenable=nil, oauthfailurestatus=nil)
  @OAuthEnable = oauthenable
  @OAuthFailureStatus = oauthfailurestatus
end

Instance Attribute Details

#OAuthEnableObject

True: 开启; False: 关闭默认为关闭。BYPASS: 通过REJECT: 拒绝默认为 BYPASS



7065
7066
7067
# File 'lib/v20180317/models.rb', line 7065

def OAuthEnable
  @OAuthEnable
end

#OAuthFailureStatusObject

True: 开启; False: 关闭默认为关闭。BYPASS: 通过REJECT: 拒绝默认为 BYPASS



7065
7066
7067
# File 'lib/v20180317/models.rb', line 7065

def OAuthFailureStatus
  @OAuthFailureStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



7072
7073
7074
7075
# File 'lib/v20180317/models.rb', line 7072

def deserialize(params)
  @OAuthEnable = params['OAuthEnable']
  @OAuthFailureStatus = params['OAuthFailureStatus']
end